Merge branch 'master' into watson

watson
Talon 2021-04-06 12:06:56 +02:00
commit a4ccdf43cb
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ function registerModules() {
} }
function handleMessage(message) { function handleMessage(message) {
if (message.contents.startsWith(process.env.PREFIX)) { if (message.content.startsWith(process.env.PREFIX)) {
const args = message.contents.split(" "); const args = message.contents.split(" ");
const command = args[0].substr(1, args[0].length); const command = args[0].substr(1, args[0].length);
const execution = commandHandlers.get(command); const execution = commandHandlers.get(command);