mirror of
https://github.com/RYGhub/royalnet.git
synced 2024-11-23 19:44:20 +00:00
Forgot a return
This commit is contained in:
parent
bbb89b3370
commit
8d232fdc6b
1 changed files with 1 additions and 0 deletions
|
@ -22,6 +22,7 @@ class ReminderCommand(Command):
|
||||||
date = None
|
date = None
|
||||||
if date is None:
|
if date is None:
|
||||||
await call.reply("⚠️ La data che hai inserito non è valida.")
|
await call.reply("⚠️ La data che hai inserito non è valida.")
|
||||||
|
return
|
||||||
await call.reply(f"✅ Promemoria impostato per [b]{date.strftime('%Y-%m-%d %H:%M:%S')}[/b]")
|
await call.reply(f"✅ Promemoria impostato per [b]{date.strftime('%Y-%m-%d %H:%M:%S')}[/b]")
|
||||||
await sleep_until(date)
|
await sleep_until(date)
|
||||||
await call.reply(f"❗️ Promemoria: [b]{reminder_text}[/b]")
|
await call.reply(f"❗️ Promemoria: [b]{reminder_text}[/b]")
|
||||||
|
|
Loading…
Reference in a new issue