Skip to content

Commit a71116e

Browse files
committed
Se corrige la función reply.
1 parent 29c27a5 commit a71116e

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

bot.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,10 +128,6 @@ async def reply(self, update: Update, context: ContextTypes.DEFAULT_TYPE):
128128
if reply_spec is not None:
129129
self.trace(f'bot sends reply {reply_spec.reply}')
130130
await update.message.reply_text(reply_spec.reply)
131-
context.bot.send_message(
132-
chat_id=update.message.chat_id,
133-
text=reply_spec.reply
134-
)
135131

136132
def run(self):
137133
self.trace('Starting bot...')

0 commit comments

Comments
 (0)