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:
parent
c97762e84c
commit
b7492c8ad0
30 changed files with 262 additions and 684 deletions
|
@ -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);
|
||||
})();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue