mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 09:48:26 -04:00
Global usings and file scoped namespaces
This commit is contained in:
@@ -1,31 +1,29 @@
|
||||
using System.Collections.Concurrent;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using NadekoBot.Modules.Nsfw.Common;
|
||||
using NadekoBot.Modules.Searches.Common;
|
||||
|
||||
namespace NadekoBot.Modules.Nsfw
|
||||
namespace NadekoBot.Modules.Nsfw;
|
||||
|
||||
public interface ISearchImagesService
|
||||
{
|
||||
public interface ISearchImagesService
|
||||
{
|
||||
Task<UrlReply> Gelbooru(ulong? guildId, bool forceExplicit, string[] tags);
|
||||
Task<UrlReply> Danbooru(ulong? guildId, bool forceExplicit, string[] tags);
|
||||
Task<UrlReply> Konachan(ulong? guildId, bool forceExplicit, string[] tags);
|
||||
Task<UrlReply> Yandere(ulong? guildId, bool forceExplicit, string[] tags);
|
||||
Task<UrlReply> Rule34(ulong? guildId, bool forceExplicit, string[] tags);
|
||||
Task<UrlReply> E621(ulong? guildId, bool forceExplicit, string[] tags);
|
||||
Task<UrlReply> DerpiBooru(ulong? guildId, bool forceExplicit, string[] tags);
|
||||
Task<UrlReply> Sankaku(ulong? guildId, bool forceExplicit, string[] tags);
|
||||
Task<UrlReply> SafeBooru(ulong? guildId, bool forceExplicit, string[] tags);
|
||||
Task<UrlReply> Hentai(ulong? guildId, bool forceExplicit, string[] tags);
|
||||
Task<UrlReply> Boobs();
|
||||
ValueTask<bool> ToggleBlacklistTag(ulong guildId, string tag);
|
||||
ValueTask<string[]> GetBlacklistedTags(ulong guildId);
|
||||
Task<UrlReply> Butts();
|
||||
Task<Gallery> GetNhentaiByIdAsync(uint id);
|
||||
Task<Gallery> GetNhentaiBySearchAsync(string search);
|
||||
ConcurrentDictionary<ulong, Timer> AutoHentaiTimers { get; }
|
||||
ConcurrentDictionary<ulong, Timer> AutoBoobTimers { get; }
|
||||
ConcurrentDictionary<ulong, Timer> AutoButtTimers { get; }
|
||||
}
|
||||
Task<UrlReply> Gelbooru(ulong? guildId, bool forceExplicit, string[] tags);
|
||||
Task<UrlReply> Danbooru(ulong? guildId, bool forceExplicit, string[] tags);
|
||||
Task<UrlReply> Konachan(ulong? guildId, bool forceExplicit, string[] tags);
|
||||
Task<UrlReply> Yandere(ulong? guildId, bool forceExplicit, string[] tags);
|
||||
Task<UrlReply> Rule34(ulong? guildId, bool forceExplicit, string[] tags);
|
||||
Task<UrlReply> E621(ulong? guildId, bool forceExplicit, string[] tags);
|
||||
Task<UrlReply> DerpiBooru(ulong? guildId, bool forceExplicit, string[] tags);
|
||||
Task<UrlReply> Sankaku(ulong? guildId, bool forceExplicit, string[] tags);
|
||||
Task<UrlReply> SafeBooru(ulong? guildId, bool forceExplicit, string[] tags);
|
||||
Task<UrlReply> Hentai(ulong? guildId, bool forceExplicit, string[] tags);
|
||||
Task<UrlReply> Boobs();
|
||||
ValueTask<bool> ToggleBlacklistTag(ulong guildId, string tag);
|
||||
ValueTask<string[]> GetBlacklistedTags(ulong guildId);
|
||||
Task<UrlReply> Butts();
|
||||
Task<Gallery> GetNhentaiByIdAsync(uint id);
|
||||
Task<Gallery> GetNhentaiBySearchAsync(string search);
|
||||
ConcurrentDictionary<ulong, Timer> AutoHentaiTimers { get; }
|
||||
ConcurrentDictionary<ulong, Timer> AutoBoobTimers { get; }
|
||||
ConcurrentDictionary<ulong, Timer> AutoButtTimers { get; }
|
||||
}
|
Reference in New Issue
Block a user