mirror of
https://github.com/brandons209/Red-bot-Cogs.git
synced 2024-05-18 19:32:29 +12:00
send command help for birthday set when user has no birthday set
This commit is contained in:
parent
0028e917e7
commit
6b6468a9a4
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue