From 8d232fdc6b074e00d26d0c4158192b00d6146949 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Tue, 9 Apr 2019 11:25:07 +0200 Subject: [PATCH] Forgot a return --- royalnet/commands/reminder.py | 1 + 1 file changed, 1 insertion(+) diff --git a/royalnet/commands/reminder.py b/royalnet/commands/reminder.py index 9b3882c1..cae785f8 100644 --- a/royalnet/commands/reminder.py +++ b/royalnet/commands/reminder.py @@ -22,6 +22,7 @@ class ReminderCommand(Command): date = None if date is None: 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 sleep_until(date) await call.reply(f"❗️ Promemoria: [b]{reminder_text}[/b]")