diff --git a/infochannel/infochannel.py b/infochannel/infochannel.py index f16d47f..e8ea91b 100644 --- a/infochannel/infochannel.py +++ b/infochannel/infochannel.py @@ -504,7 +504,7 @@ class InfoChannel(Cog): guild_data = await self.config.guild(guild).all() to_update = ( - kwargs.keys() & guild_data["enabled_channels"].keys() + kwargs.keys() & [key for key, value in guild_data["enabled_channels"].items() if value] ) # Value in kwargs doesn't matter if to_update or extra_roles: