예제 #1
0
파일: update.py 프로젝트: 4rChon/gadget
def initialize():
    register_command(handle_reload)
    register_command(handle_restart)
    register_command(handle_quit)
    register_command(handle_pull)
    register_command(handle_git)
예제 #2
0
파일: topic.py 프로젝트: Yoplitein/gadget
def initialize():
    defaultSettings = """FORMAT = "%s" #format for a topic set by !topic, %s is replaced with the command's arguments
"""
    
    load_secondary_settings("topic", defaultSettings)
    register_command(handle_topic)
예제 #3
0
파일: help.py 프로젝트: 4rChon/gadget
def initialize():
    register_command(handle_help)
예제 #4
0
파일: topic.py 프로젝트: 4rChon/gadget
def initialize():
    register_command(handle_topic)
예제 #5
0
파일: patience.py 프로젝트: 4rChon/gadget
def initialize():
    register_command(handle_patience)
예제 #6
0
파일: imgur.py 프로젝트: Yoplitein/gadget
def initialize():
    register_command(handle_imgur)
    subscribe(scan_imgur_links)