From 6b6468a9a4ee7da24b9a2c04b267fd2d51705ee2 Mon Sep 17 00:00:00 2001 From: brandons209 Date: Sat, 27 Jun 2020 03:40:31 -0400 Subject: [PATCH] send command help for birthday set when user has no birthday set --- birthday/birthday.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/birthday/birthday.py b/birthday/birthday.py index 8b247f3..282f3cd 100644 --- a/birthday/birthday.py +++ b/birthday/birthday.py @@ -197,6 +197,11 @@ class Birthday(commands.Cog): 05-20 etc.. """ + current = await self.config.member(ctx.author).birthday() + if not date and not current: + await self.bot.send_help_for(ctx, "bday set") + return + if not date: await ctx.send("Would you like to remove your birthday?") pred = MessagePredicate.yes_or_no(ctx)