diff --git a/plugins/hato.py b/plugins/hato.py index fb1a00c524..34ac15658b 100644 --- a/plugins/hato.py +++ b/plugins/hato.py @@ -42,29 +42,25 @@ "help": lambda m: help_message, "eq": lambda m: partial(earth_quake), "地震": lambda m: partial(earth_quake), - "textlint": lambda m: partial(textlint, text=m[len("textlint "):]), + "textlint": lambda m: partial(textlint, text=m[len("textlint ") :]), "text list": lambda m: get_text_list, - "text add ": lambda m: partial(add_text, word=m[len("text add "):]), - "text show ": lambda m: partial( - show_text, power_word_id=m[len("text show "):] - ), + "text add ": lambda m: partial(add_text, word=m[len("text add ") :]), + "text show ": lambda m: partial(show_text, power_word_id=m[len("text show ") :]), "text delete ": lambda m: partial( - delete_text, power_word_id=m[len("text delete "):] + delete_text, power_word_id=m[len("text delete ") :] ), "text random": lambda m: show_random_text, "text": lambda m: show_random_text, - ">< ": lambda m: partial(totuzensi, message=m[len(">< "):]), - "amesh": lambda m: partial(amesh, place=m[len("amesh"):].strip()), - "amedas": lambda m: partial(amedas, place=m[len("amedas"):].strip()), + ">< ": lambda m: partial(totuzensi, message=m[len(">< ") :]), + "amesh": lambda m: partial(amesh, place=m[len("amesh") :].strip()), + "amedas": lambda m: partial(amedas, place=m[len("amedas") :].strip()), "電力": lambda m: electricity_demand, - "標高": lambda m: partial(altitude, place=m[len("標高"):].strip()), + "標高": lambda m: partial(altitude, place=m[len("標高") :].strip()), "version": lambda m: version, "にゃーん": lambda m: yoshiyoshi, "おみくじ": lambda m: omikuji, - "chat": lambda m: partial(chat, message=m[len("chat"):].strip()), - "画像生成": lambda m: partial( - image_generate, message=m[len("画像生成"):].strip() - ), + "chat": lambda m: partial(chat, message=m[len("chat") :].strip()), + "画像生成": lambda m: partial(image_generate, message=m[len("画像生成") :].strip()), "ping": lambda m: ping, }