Browse Source
Updated CommandsHandler.rb
Added "user" variable description.
master
Tearzz
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
2 deletions
-
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 = { |
|
|
|