mirror of
https://github.com/ION606/custom_discordjs.git
synced 2026-05-14 22:26:54 +00:00
Fixed interactions and added the deferReply feature
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user