Fix missing async

This commit is contained in:
Sophie Marie 2023-01-04 20:45:50 -06:00
parent fec4dc45ef
commit 977f6e2a21
No known key found for this signature in database
GPG Key ID: 0C9FB786E7770775
1 changed files with 2 additions and 2 deletions

View File

@ -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 = {
});
}
}
}
;
};