From 18658e4bbcb3c3250f88d07eedb88e7811f50d4e Mon Sep 17 00:00:00 2001 From: Tearzz Date: Thu, 19 Apr 2018 16:22:03 +0200 Subject: [PATCH] Updated CommandsHandler.rb Added "user" variable description. --- CommandsHandler.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CommandsHandler.rb b/CommandsHandler.rb index 18a5e09..bf7712d 100644 --- a/CommandsHandler.rb +++ b/CommandsHandler.rb @@ -7,8 +7,9 @@ def HandleCommands(line) # moderators = 100 messages (within a 30 second window) # default = 20 messages (within a 30 second window) # max_messages is set to 80 just to keep it safe - - user = "" + + user = "" # Required (Avoid "undefined local variable or method `user'") + prefix = "!" admin_commands = {