def interval(seconds): return add_method_tag({ 'name': 'interval', 'properties': { 'seconds': seconds } })
def subscriber(event): return add_method_tag({ 'name': 'subscriber', 'properties': { 'event': event, } })
def webhook(route, methods=["GET", "POST"]): return add_method_tag({ 'name': 'webhook', 'properties': { 'route': route, 'methods': methods } })
def help(text, usage="Not Documented"): return add_method_tag({ 'name': 'help', 'properties': { 'text': text, 'usage': usage } })
def parse_command(pattern, access=0, trigger="arcbot "): if trigger is None: trigger = "" return add_method_tag({ 'name': 'parse_command', 'properties': { 'pattern': pattern, 'access': access, 'trigger': trigger } })
def pre_command_hook(): return add_method_tag({'name': 'pre_command', 'properties': {}})