Fixed interactions and added the deferReply feature

This commit is contained in:
ION606
2023-05-04 13:59:12 -04:00
parent 90122ff9d3
commit b2573f40b2
3 changed files with 17 additions and 5 deletions
+1 -1
View File
@@ -7,8 +7,8 @@ const delay = ms => new Promise(resolve => setTimeout(resolve, ms));
/** @param {Interaction} interaction */
export default async (interaction) => {
if (interaction.type == interactionTypes.ApplicationCommand) {
console.log(interaction.data);
return interaction.deferReply();
const m = new Modal(null, interaction.client);
const c = new ModalComponent();
c.custom_id = 'nonononononono';