latest changes to botconfig.py
This commit is contained in:
parent
63ce01c966
commit
ea14343ec2
11
botconfig.py
11
botconfig.py
@ -7,4 +7,13 @@ OWNERS = ("unaffiliated/wolfbot_admin1",) # the comma is required at the end if
|
||||
ADMINS = ("unaffiliated/wolfbot_admin2", "unaffiliated/wolfbot_admin3")
|
||||
CMD_CHAR = "!"
|
||||
CHANGING_HOST_QUIT_MESSAGE = "Changing host"
|
||||
DEBUG_MODE = False
|
||||
JOIN_AFTER_CLOAKED = True # Set to false if the bot does not have a cloak
|
||||
DISABLE_DEBUG_MODE = False # Entirely disable debug mode
|
||||
|
||||
# Argument --debug means start in debug mode
|
||||
import argparse
|
||||
parser = argparse.ArgumentParser()
|
||||
parser.add_argument('--debug', action='store_true')
|
||||
|
||||
args = parser.parse_args()
|
||||
DEBUG_MODE = args.debug if not DISABLE_DEBUG_MODE else False
|
Loading…
x
Reference in New Issue
Block a user