Statement gotchas
This commit is contained in:
parent
78d81159ee
commit
664e0db722
1 changed files with 1 additions and 1 deletions
2
main.py
2
main.py
|
@ -47,7 +47,7 @@ def randomchat(bot, update):
|
|||
reply = chatbot.get_response(msg)
|
||||
|
||||
if "te rieh" in msg or random.randint(0, 100) < 5:
|
||||
reply = user_name + ": " + reply
|
||||
reply = user_name + ": " + reply.text
|
||||
bot.sendMessage(update.message.chat_id, text=reply)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue