Add comment to explain omission of cmd handler

This commit is contained in:
2020-12-16 12:51:59 +01:00
parent 5e6dcf335f
commit 34aed845bd

View File

@@ -18,6 +18,9 @@ client.once('ready', () =>{
client.on('message', message => { 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.channel.name == 'rolki'){
if(message.author.bot) return; if(message.author.bot) return;