send command help for birthday set when user has no birthday set

This commit is contained in:
brandons209 2020-06-27 03:40:31 -04:00
parent 0028e917e7
commit 6b6468a9a4

View file

@ -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)