Fix missing async
This commit is contained in:
parent
fec4dc45ef
commit
977f6e2a21
|
@ -2,6 +2,7 @@ module.exports = {
|
|||
event: require('path').parse(__filename).name,
|
||||
once: false,
|
||||
listener: (client, config) =>
|
||||
async (interaction) => {
|
||||
try {
|
||||
await client.commands.get(interaction.commandName)?.parseInteraction(client, config, interaction);
|
||||
} catch (error) {
|
||||
|
@ -19,5 +20,4 @@ module.exports = {
|
|||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
;
|
||||
};
|
||||
|
|
Reference in New Issue