Discord collection > Enmap

This commit is contained in:
Zerio
2020-08-11 22:47:38 +02:00
committed by GitHub
parent bee0a8a6f3
commit 6a350b3007

View File

@@ -15,7 +15,7 @@ module.exports = (client, message) => {
const args = message.content.slice(prefix.length).trim().split(/ +/g);
const command = args.shift().toLowerCase();
//Grab the command data from the client.commands Enmap
//Grab the command data from the client.commands (Discord collection)
const cmd = client.commands.get(command);
//If that command doesn't exist, silently exit and do nothing