Show message when no role is set
This commit is contained in:
parent
54e3463a51
commit
f836c146df
|
@ -219,6 +219,8 @@ class GuildConfiguration:
|
||||||
return "You had a role set, but I can't find it...it's most likely been deleted afterwords!"
|
return "You had a role set, but I can't find it...it's most likely been deleted afterwords!"
|
||||||
else:
|
else:
|
||||||
return f"When people join I will give them the role {role.name}"
|
return f"When people join I will give them the role {role.name}"
|
||||||
|
else:
|
||||||
|
return "You have no join_role setting for when people join this server"
|
||||||
|
|
||||||
async def _handle_set_birthday_notifications(self, ctx, setting):
|
async def _handle_set_birthday_notifications(self, ctx, setting):
|
||||||
opt = "birthday_notifications"
|
opt = "birthday_notifications"
|
||||||
|
|
Loading…
Reference in a new issue