diff --git a/discordbot/titanembeds/utils.py b/discordbot/titanembeds/utils.py index 0ef463b..7eb9c71 100644 --- a/discordbot/titanembeds/utils.py +++ b/discordbot/titanembeds/utils.py @@ -194,6 +194,8 @@ def get_channels_list(guildchannels): overwrites = [] isTextChannel = isinstance(channel, discord.channel.TextChannel) for target, overwrite in channel.overwrites: + if not target: + continue if isinstance(target, discord.Role): type = "role" else: