From 34aed845bdc48ff41787b1c22261b1b1ee083257 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Ma=C5=84czak?= <56172798+jakubmanczak@users.noreply.github.com> Date: Wed, 16 Dec 2020 12:51:59 +0100 Subject: [PATCH] Add comment to explain omission of cmd handler --- index.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.js b/index.js index 8591ada..3abf711 100644 --- a/index.js +++ b/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;