Make rules string unconfigured by default (#269)

The old link was outdated anyway, and other networks may not use the same rules as freenode, so it should be just configured in botconfig.py like it always could.
This commit is contained in:
Trigonoculus 2016-11-13 17:32:30 +07:00 committed by nyuszika7h
parent 64e6a90921
commit 629fe51fd7
2 changed files with 3 additions and 1 deletions

View File

@ -24,6 +24,8 @@ SERVER_PASS = "{account}:{password}"
OWNERS = ("unaffiliated/wolfbot_admin1",) # The comma is required at the end if there is only one owner.
OWNERS_ACCOUNTS = ("1owner_acc",)
#RULES = "{0} channel rules: https://werewolf.chat/Freenode:Rules".format(botconfig.CHANNEL)
ALLOWED_NORMAL_MODE_COMMANDS = [] # Debug mode commands to be allowed in normal mode
OWNERS_ONLY_COMMANDS = [] # Commands that should only be allowed for owners, regardless of their original permissions

View File

@ -320,7 +320,7 @@ FORTUNE_CHANCE = 1/25
ALL_FLAGS = frozenset("AaDdFjms")
RULES = (botconfig.CHANNEL + " channel rules: http://wolf.xnrand.com/rules")
RULES = "To configure this command, the bot administrator should uncomment and modify RULES in botconfig.py."
GRAVEYARD_LOCK = threading.RLock()
WARNING_LOCK = threading.RLock()