Added arrow, very glitchy though

This commit is contained in:
ION606
2022-02-17 23:37:48 -05:00
parent b56025e4f4
commit d724bc374b
2 changed files with 29 additions and 2 deletions
+4 -2
View File
@@ -47,8 +47,7 @@ client.on('messageCreate', (message) => {
const args = message.content.slice(prefix.length).split(' ');
const command = args.shift().toLowerCase();
//test message (can also use message.channel.send('thing') instead of message.reply('thing))
//Check if the user has sufficient permission
//Performes the command
@@ -62,6 +61,9 @@ client.on('messageCreate', (message) => {
case 'links': client.commands.get('links').execute(message, args, Discord);
break;
case 'arrow': client.commands.get('arrow').execute(message, args, Discord);
break;
default: message.channel.send("'" + message.content + "' is not a command!");
}
})