diff options
| author | 8cy <[email protected]> | 2020-04-04 19:54:49 -0700 |
|---|---|---|
| committer | 8cy <[email protected]> | 2020-04-04 19:54:49 -0700 |
| commit | f5924ab7451be6b9c027d8ed9b94742cde220bc9 (patch) | |
| tree | bdfb3d3c3300745ae50307c63ec0fad1af0bbf91 | |
| parent | fix emoji id, v1.2.5 (diff) | |
| download | s5nical-f5924ab7451be6b9c027d8ed9b94742cde220bc9.tar.xz s5nical-f5924ab7451be6b9c027d8ed9b94742cde220bc9.zip | |
v1.2.6
- mute commands output in console
- change if in mods-chat to bot-commands
| -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);
|