def register(client): if "KANSALLISGALLERIA_API_KEY" not in os.environ: log.info("KANSALLISGALLERIA_API_KEY is not set; feature is disabled") return {} util.start_task_thread(task(client)) return { "art": cmd_art, }
def register(client) -> dict: util.start_task_thread(do_tasks(client)) return { 'ence': cmd_ence, }
def register(client): util.start_task_thread(faceit_tasker.elo_notifier_task(client)) return { 'faceit': faceit_commands.cmd_faceit_commands, }
def register(client): util.start_task_thread(task()) return {}
def register(client): util.start_task_thread(task(client)) return { "osu": cmd_osu, }
def register(client): log.info("Registering") util.start_task_thread(task(client)) return { "feed": cmd_feed, }