Fix typo
This commit is contained in:
2
index.js
2
index.js
@@ -75,7 +75,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);
|
||||||
|
Reference in New Issue
Block a user