You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							31 lines
						
					
					
						
							1.2 KiB
						
					
					
				
			
		
		
	
	
							31 lines
						
					
					
						
							1.2 KiB
						
					
					
				PASS = "my_nickserv_pass" | 
						|
CHANNEL = "#mywolfgame" | 
						|
HOST = "irc.freenode.net" | 
						|
PORT = 6667  # SSL not supported yet | 
						|
USERNAME = ""  # for authentication, can be left blank if same as NICK | 
						|
NICK = "mywolfbot" | 
						|
CMD_CHAR = "!" | 
						|
CHANGING_HOST_QUIT_MESSAGE = "Changing host" | 
						|
 | 
						|
JOIN_AFTER_CLOAKED = True # Set to false if the bot does not have a cloak | 
						|
DISABLE_DEBUG_MODE = False  # Entirely disable debug mode | 
						|
IGNORE_HIDDEN_COMMANDS = True # Ignore commands sent to @#channel or +#channel | 
						|
 | 
						|
OWNERS = ("unaffiliated/wolfbot_admin1",)  # the comma is required at the end if there is one owner | 
						|
ADMINS = ("unaffiliated/wolfbot_admin2", "unaffiliated/wolfbot_admin3")  # glob syntax supported (wildcards) | 
						|
ALLOW = {"cloakof/fwaiter": ("fwait",), | 
						|
         "cloakof/?omeone_else": ("fday","fnight")} | 
						|
DENY = {} | 
						|
 | 
						|
# Stop editing here | 
						|
 | 
						|
# Argument --debug means start in debug mode | 
						|
import argparse | 
						|
parser = argparse.ArgumentParser() | 
						|
parser.add_argument('--debug', action='store_true') | 
						|
parser.add_argument('--sabotage', action='store_true') | 
						|
 | 
						|
args = parser.parse_args() | 
						|
DEBUG_MODE = args.debug if not DISABLE_DEBUG_MODE else False | 
						|
 | 
						|
DEFAULT_MODULE = "sabotage" if args.sabotage else "wolfgame"
 | 
						|
 |