mirror of
				https://github.com/TitanEmbeds/Titan.git
				synced 2025-11-04 07:47:10 +01:00 
			
		
		
		
	Overwrites is no longer a tuple but a dict
This commit is contained in:
		@@ -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):
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user