From c028ed56cb8cc6e63faad6798d5d75166cb5fe3f Mon Sep 17 00:00:00 2001 From: Siphalor Date: Fri, 12 Mar 2021 19:17:40 +0100 Subject: [PATCH] Fix casing issue --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index 4104293..2ad8676 100644 --- a/bot.py +++ b/bot.py @@ -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!")