Nuked nsfw from the public bot, it shouldn't show up anymore. Uncommented patron owner check

This commit is contained in:
Kwoth
2022-06-25 21:03:16 +02:00
parent f616364d8a
commit dfec2f589e
2 changed files with 9 additions and 4 deletions

View File

@@ -4,6 +4,7 @@ using Newtonsoft.Json.Linq;
namespace NadekoBot.Modules.Nsfw;
#if !GLOBAL_NADEKO
[NoPublicBot]
public partial class NSFW : NadekoModule<ISearchImagesService>
{
@@ -436,4 +437,5 @@ public partial class NSFW : NadekoModule<ISearchImagesService>
.WithFooter(
$"{data.Rating} ({data.Provider}) | {string.Join(" | ", data.Tags.Where(x => !string.IsNullOrWhiteSpace(x)).Take(5))}"));
}
}
}
#endif