diff options
| -rw-r--r-- | app.js | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -12,8 +12,8 @@ bot.on('ready', () => { });
// Outputs available commands in output console
- commands = ['bot', 'help'];
- console.log(commands);
+ //commands = ['bot', 'help'];
+ //console.log(commands);
});
// Outputs errors in console window
@@ -22,7 +22,7 @@ bot.on('error', console.error); // Start Bot Commands
bot.on('message', async msg => {
//console.log(msg.content.toLowerCase());
- if (msg.channel.name === 'bots' || msg.channel.name === 'mods-chat' || msg.member.hasPermission('KICK_MEMBERS')) {
+ if (msg.channel.name === 'bots' || msg.channel.name === 'bot-commands' || msg.member.hasPermission('KICK_MEMBERS')) {
var msgContent = msg.content.toLowerCase();
if (prefixCheck()) {
console.log(msg.member.user.tag, 'says', msgContent, 'in #' + msg.channel.name);
|