modified: telegrambot/index.js

master
cheetah 5 years ago
parent 764cd9860b
commit 1047a07651

@ -353,8 +353,8 @@ angebotCodeStage.enter(async (ctx) => {
ctx.session.codeMsg = codeMsg.message_id ctx.session.codeMsg = codeMsg.message_id
}) })
angebotCodeStage.leave(async (ctx) => { angebotCodeStage.leave(async (ctx) => {
if (!!ctx.session.codeMsg) // if (!!ctx.session.codeMsg)
await ctx.deleteMessage(ctx.session.codeMsg) // await ctx.deleteMessage(ctx.session.codeMsg)
}) })
angebotCodeStage.action('abort', async (ctx) => { angebotCodeStage.action('abort', async (ctx) => {
await ctx.replyWithChatAction('typing') await ctx.replyWithChatAction('typing')

Loading…
Cancel
Save