Skip to content

Commit

Permalink
update log
Browse files Browse the repository at this point in the history
  • Loading branch information
shikajiro committed Nov 25, 2021
1 parent c7a6728 commit a54f2f4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions run.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ def search(message: Message, something: str):
if LOGGER_CHANNEL_ID:
msg = ""
if not res_text:
msg = f"この用語は分からなかったワン・・・だれか <{SPREADSHEET}|用語集> に追加して欲しいワン"
text = f"<@{message.user['profile']['display_name']}> <#{message.channel._body['id']}> query:{something} {msg}"
msg = f"\nでもこの用語は分からなかったワン・・・だれか <{SPREADSHEET}|用語集> に追加して欲しいワン"
text = f"<#{message.channel._body['id']}> で <@{message.user['id']}> が **{something}** を検索したワン。{msg}"
message._client.rtm_send_message(LOGGER_CHANNEL_ID, text)

message.reply("\n\n".join(res_text))
Expand Down

0 comments on commit a54f2f4

Please sign in to comment.