Add comment to explain omission of cmd handler
This commit is contained in:
3
index.js
3
index.js
@@ -18,6 +18,9 @@ client.once('ready', () =>{
|
||||
|
||||
client.on('message', message => {
|
||||
|
||||
/* OMITTING THE COMMAND HANDLER TO CATCH ANY AND ALL MESSAGES IN THE '#rolki' CHANNEL
|
||||
MAKING 'tf2' A VIABLE COMMAND WITHOUT A PREFIX */
|
||||
// command handler is downward from this if statement
|
||||
if(message.channel.name == 'rolki'){
|
||||
|
||||
if(message.author.bot) return;
|
||||
|
||||
Reference in New Issue
Block a user