Fix casing issue
This commit is contained in:
1 parent
8ffafcf51d
commit
c028ed56cb
1 file changed
+1
-1
@@ -515,7 +515,7 @@ async def groupvc_command(ctx: commands.Context):
|
||||
if ctx.channel.category is not None:
|
||||
guild: discord.Guild = ctx.guild
|
||||
channel: discord.TextChannel = ctx.channel
|
||||
if channel.category.name.lower() == config_get("groups-category", guild.id):
|
||||
if channel.category.name.lower() == config_get("groups-category", guild.id).lower():
|
||||
role = await find_role_case_insensitive(guild, channel.name, config_get("groups-role-prefix", guild.id))
|
||||
if role is None:
|
||||
await ctx.send("Couldn't resolve group role!")
|
||||
|
||||
Reference in new issue
Block a user