From 787f18e87a1196e72e521ea32bf21da83722afa9 Mon Sep 17 00:00:00 2001 From: rodrigondec Date: Thu, 21 Nov 2019 18:31:40 -0300 Subject: [PATCH] /status now responds on user pvt --- commands/house.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/commands/house.py b/commands/house.py index 65b30ae..4b3c313 100644 --- a/commands/house.py +++ b/commands/house.py @@ -41,10 +41,11 @@ def fechada(bot, update): def status(bot, update): """Send a sticker or message with the status of our home.""" _status = Status.now() + user = update.message.from_user if _status is not None: bot.send_sticker( sticker=Status.now().sticker, - chat_id=update.message.chat_id) + chat_id=user.id) else: update.message.reply_text(I_DONT_KNOW)