Skip to content

Commit 37f8ef4

Browse files
authored
Merge pull request #39 from misanram/Reply-esta-fallando
Se corrige la función reply.
2 parents e335a75 + a71116e commit 37f8ef4

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

bot.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,10 +139,6 @@ async def reply(self, update: Update, context: ContextTypes.DEFAULT_TYPE):
139139
if reply_spec is not None:
140140
self.trace(f'Sending reply: {reply_spec.reply}')
141141
await update.message.reply_text(reply_spec.reply)
142-
context.bot.send_message(
143-
chat_id=update.message.chat_id,
144-
text=reply_spec.reply
145-
)
146142

147143
def run(self):
148144
self.trace('Starting bot')

0 commit comments

Comments
 (0)