mirror of
https://github.com/ION606/selmerBot.git
synced 2026-06-05 23:06:14 +00:00
Added arrow, very glitchy though
This commit is contained in:
@@ -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!");
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user