diff --git a/var.py b/var.py index dc5fffc..940f1b1 100644 --- a/var.py +++ b/var.py @@ -32,6 +32,8 @@ ROLES_GUIDE = { 4 : ( 1 , 1 , 0 , 0 , 0 , 0 , 0 10 : ( 1 , 2 , 1 , 1 , 1 , 1 , 1 , 0 , 0 , 0 ), ## 11 : ( 1 , 2 , 1 , 1 , 1 , 1 , 1 , 0 , 1 , 0 ), ## 15 : ( 1 , 3 , 1 , 1 , 1 , 1 , 1 , 0 , 1 , 1 ), ## + 22 : ( 1 , 4 , 1 , 1 , 1 , 1 , 1 , 0 , 1 , 1 ), ## + 29 : ( 1 , 5 , 1 , 1 , 1 , 1 , 1 , 0 , 1 , 1 ), ## None : ( 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 )} ## ################################################################################################################# # Notes: ## diff --git a/wolfgame.py b/wolfgame.py index 80cfc88..8236b8e 100644 --- a/wolfgame.py +++ b/wolfgame.py @@ -88,7 +88,7 @@ def connect_callback(cli): def mass_mode(cli, md): - """ Example: mass_mode((('+v', 'asdf'), ('-v','wobosd'))) """ + """ Example: mass_mode(cli, (('+v', 'asdf'), ('-v','wobosd'))) """ lmd = len(md) # store how many mode changes to do for start_i in range(0, lmd, 4): # 4 mode-changes at a time if start_i + 4 > lmd: # If this is a remainder (mode-changes < 4) @@ -148,10 +148,9 @@ def forced_exit(cli, nick, *rest): # Admin Only """Forces the bot to close""" reset(cli) - print("Quitting in 5 seconds.") dict.clear(COMMANDS) dict.clear(PM_COMMANDS) - dict.clear(PM_COMMANDS) + dict.clear(HOOKS) cli.quit("Forced quit from admin") raise SystemExit