コード例 #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)