mirror of
				https://gitlab.com/Kwoth/nadekobot.git
				synced 2025-11-04 00:34:26 -05:00 
			
		
		
		
	Fixed an exception which was breaking repeater loop
This commit is contained in:
		@@ -218,7 +218,7 @@ where ((guildid >> 22) % {_creds.TotalShards}) == {_client.ShardId};")
 | 
			
		||||
 | 
			
		||||
            var channel = _client.GetChannel(repeater.ChannelId) as ITextChannel;
 | 
			
		||||
            if (channel is null)
 | 
			
		||||
                channel = await _client.Rest.GetChannelAsync(repeater.ChannelId) as ITextChannel;
 | 
			
		||||
                try { channel = await _client.Rest.GetChannelAsync(repeater.ChannelId) as ITextChannel; } catch { }
 | 
			
		||||
 | 
			
		||||
            if (channel is null)
 | 
			
		||||
            {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user