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!")