watson
Talon 2021-04-05 23:21:47 +02:00
parent b444508fb8
commit 8985677f7b
1 changed files with 1 additions and 1 deletions

View File

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