public nadeko fix
This commit is contained in:
parent
04ea479017
commit
4429687bd5
@ -253,8 +253,6 @@ namespace NadekoBot.Modules.NSFW
|
||||
await Context.Channel.SendErrorAsync(ex.Message).ConfigureAwait(false);
|
||||
}
|
||||
}
|
||||
#if !GLOBAL_NADEKO
|
||||
|
||||
|
||||
public static Task<string> GetE621ImageLink(string tag) => Task.Run(async () =>
|
||||
{
|
||||
@ -278,6 +276,10 @@ namespace NadekoBot.Modules.NSFW
|
||||
}
|
||||
});
|
||||
|
||||
public static Task<string> GetRule34ImageLink(string tag) =>
|
||||
Searches.Searches.InternalDapiSearch(tag, Searches.Searches.DapiSearchType.Rule34);
|
||||
|
||||
#if !GLOBAL_NADEKO
|
||||
public static Task<string> GetYandereImageLink(string tag) =>
|
||||
Searches.Searches.InternalDapiSearch(tag, Searches.Searches.DapiSearchType.Yandere);
|
||||
|
||||
@ -286,9 +288,6 @@ namespace NadekoBot.Modules.NSFW
|
||||
|
||||
public static Task<string> GetGelbooruImageLink(string tag) =>
|
||||
Searches.Searches.InternalDapiSearch(tag, Searches.Searches.DapiSearchType.Gelbooru);
|
||||
|
||||
public static Task<string> GetRule34ImageLink(string tag) =>
|
||||
Searches.Searches.InternalDapiSearch(tag, Searches.Searches.DapiSearchType.Rule34);
|
||||
#endif
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user