mirror of
				https://github.com/TitanEmbeds/Titan.git
				synced 2025-11-04 07:47:10 +01:00 
			
		
		
		
	Set default fallback if defaultchannel query parameter is locked for the user
This commit is contained in:
		@@ -314,6 +314,9 @@
 | 
			
		||||
        }
 | 
			
		||||
        for (var i = 0; i < guildchannels.length; i++) {
 | 
			
		||||
            if (guildchannels[i].channel.id == defaultChannel) {
 | 
			
		||||
                if (!guildchannels[i].read) {
 | 
			
		||||
                    return;
 | 
			
		||||
                }
 | 
			
		||||
                selected_channel = defaultChannel;
 | 
			
		||||
                return;
 | 
			
		||||
            }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user