changed most discord actions to be handled by 1 script. this should cut down on errors and allow you to actually use the bot in other servers (i think)

This commit is contained in:
ayeuhugyu 2023-09-30 08:17:43 -07:00
parent c97762e84c
commit b7492c8ad0
30 changed files with 262 additions and 684 deletions

View file

@ -64,6 +64,8 @@ export default function (message, client) {
`use of command: ${command} by: ${message.author.username} (\`${message.author}\`)"`,
true
);
commands.get(command).execute(message, args, client);
(async () => {
commands.get(command).execute(message, args, client);
})();
}
}