Fixed ~autohentai
This commit is contained in:
		@@ -48,11 +48,15 @@ namespace NadekoBot.Modules.NSFW
 | 
			
		||||
            }
 | 
			
		||||
            var link = await provider.ConfigureAwait(false);
 | 
			
		||||
            if (string.IsNullOrWhiteSpace(link))
 | 
			
		||||
                await channel.SendErrorAsync("No results found.").ConfigureAwait(false);
 | 
			
		||||
            else if (!noError)
 | 
			
		||||
                await channel.EmbedAsync(new EmbedBuilder().WithOkColor()
 | 
			
		||||
                    .WithImageUrl(link)
 | 
			
		||||
                    .WithDescription("Tag: " + tag)).ConfigureAwait(false);
 | 
			
		||||
            {
 | 
			
		||||
                if (noError)
 | 
			
		||||
                    await channel.SendErrorAsync("No results found.").ConfigureAwait(false);
 | 
			
		||||
                return;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            await channel.EmbedAsync(new EmbedBuilder().WithOkColor()
 | 
			
		||||
                .WithImageUrl(link)
 | 
			
		||||
                .WithDescription("Tag: " + tag)).ConfigureAwait(false);
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        [NadekoCommand, Usage, Description, Aliases]
 | 
			
		||||
 
 | 
			
		||||
@@ -26,8 +26,6 @@ namespace NadekoBot.Services.Impl
 | 
			
		||||
        public int VoiceChannels => client.GetGuilds().SelectMany(g => g.Channels.Where(c => c is IVoiceChannel)).Count();
 | 
			
		||||
        public string OwnerIds => string.Join(", ", NadekoBot.Credentials.OwnerIds);
 | 
			
		||||
        
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
        Timer carbonitexTimer { get; }
 | 
			
		||||
 | 
			
		||||
        public StatsService(ShardedDiscordClient client, CommandHandler cmdHandler)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user