auto end plan on /newplan
This commit is contained in:
parent
f6aba9c47f
commit
994def8565
1 changed files with 1 additions and 4 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in a new issue