Skip to content

Commit

Permalink
formatが間違ってたので直してあげたよ!
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed May 1, 2024
1 parent 13b3d10 commit ff72f76
Showing 1 changed file with 10 additions and 14 deletions.
24 changes: 10 additions & 14 deletions plugins/hato.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}

Expand Down

0 comments on commit ff72f76

Please sign in to comment.