mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-12-25 06:27:03 +01:00
Overwrites is no longer a tuple but a dict
This commit is contained in:
parent
2e954aaffb
commit
b0c9e6c5ec
@ -195,7 +195,7 @@ def get_channels_list(guildchannels):
|
||||
if isinstance(channel, discord.channel.TextChannel) or isinstance(channel, discord.channel.CategoryChannel):
|
||||
overwrites = []
|
||||
isTextChannel = isinstance(channel, discord.channel.TextChannel)
|
||||
for target, overwrite in channel.overwrites:
|
||||
for target, overwrite in channel.overwrites.items():
|
||||
if not target:
|
||||
continue
|
||||
if isinstance(target, discord.Role):
|
||||
|
Loading…
Reference in New Issue
Block a user