Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Khaaz committed Jul 4, 2020
2 parents 6b0e38c + 6ac2bea commit d15bf49
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/events/onMessageCreate.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ exports.onMessageCreate = async(botClient, network, channelsCache, msg) => {
if (msg.content.startsWith(botClient.prefix) && msg.member.roles.some(r => cur.managerRoles.includes(r) ) ) {
const args = msg.content.split(' ');
const label = args[0].slice(botClient.prefix.length, args[0].length);
console.log(label);
const command = commands[label];
command(botClient, network, channelsCache, msg, args.slice(1, args.length) )
.then( () => console.log(`EXEC: ${label} in ${cur.name} by ${msg.author.username}`) )
Expand Down

0 comments on commit d15bf49

Please sign in to comment.