diff --git a/index.js b/index.js index 0358e33..3e27dbb 100644 --- a/index.js +++ b/index.js @@ -82,7 +82,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);