1
0
Fork 0
mirror of synced 2024-05-18 19:42:28 +12:00

Show message when no role is set

This commit is contained in:
phxntxm 2019-02-17 13:58:09 -06:00
parent 54e3463a51
commit f836c146df

View file

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