Browse Source

Updated CommandsHandler.rb

Added "user" variable description.
master
Tearzz 6 years ago
committed by GitHub
parent
commit
18658e4bbc
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      CommandsHandler.rb

+ 3
- 2
CommandsHandler.rb View File

@ -7,8 +7,9 @@ def HandleCommands(line)
# moderators = 100 messages (within a 30 second window) # moderators = 100 messages (within a 30 second window)
# default = 20 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 # max_messages is set to 80 just to keep it safe
user = ""
user = "" # Required (Avoid "undefined local variable or method `user'")
prefix = "!" prefix = "!"
admin_commands = { admin_commands = {

Loading…
Cancel
Save