1
0
Fork 0
mirror of synced 2024-05-03 12:12:31 +12:00
This commit is contained in:
phxntxm 2019-02-17 14:08:07 -06:00
parent b2f2120529
commit e561e821ca

View file

@ -214,7 +214,7 @@ class GuildConfiguration:
result = await ctx.bot.db.fetchrow("SELECT join_role FROM guilds WHERE id = $1", ctx.guild.id)
if result and result['join_role']:
role = ctx.bot.get_role(result['join_role'])
role = ctx.guild.get_role(result['join_role'])
if role is None:
return "You had a role set, but I can't find it...it's most likely been deleted afterwords!"
else: