Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
gaowanliang committed Jun 4, 2021
1 parent 159f7e4 commit d411005
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def start(update, context):


def stop(update, context):
if update.effective_chat.id == 1716365929:
if update.effective_chat.id == 0:
context.bot.send_message(
chat_id=update.effective_chat.id, text="机器人已停止")
updater.stop()
Expand Down

0 comments on commit d411005

Please sign in to comment.