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 00e5c81 commit c7a6728
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions run.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,8 @@ def search(message: Message, something: str):
if LOGGER_CHANNEL_ID:
msg = ""
if not res_text:
msg = "このクエリは見つかりませんでした"
channel_name = {message.channel._body['name']}
text = f"<@{message.user['display_name']}> <#{channel_name}> query:{something} {msg}"
msg = f"この用語は分からなかったワン・・・だれか <{SPREADSHEET}|用語集> に追加して欲しいワン"
text = f"<@{message.user['profile']['display_name']}> <#{message.channel._body['id']}> query:{something} {msg}"
message._client.rtm_send_message(LOGGER_CHANNEL_ID, text)

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

0 comments on commit c7a6728

Please sign in to comment.