示例#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)