auto end plan on /newplan

This commit is contained in:
Tomáš Mládek 2021-05-23 11:06:34 +02:00
parent f6aba9c47f
commit 994def8565

View file

@ -33,10 +33,7 @@ class DudleBot:
def tg_newplan(self, update, context):
if context.chat_data.get("plan", None):
update.message.reply_text(
"There's a plan unresolved still! (Speak /endplan to fix it.)"
)
return
self.tg_end(update, context)
today = datetime.today()