mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2026-10-25 04:00:56 -04:00
change: .wikia slightly changed and refactored
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
namespace NadekoBot.Modules.Searches.Services;
|
||||
|
||||
public enum ErrorType
|
||||
{
|
||||
InvalidInput,
|
||||
NotFound,
|
||||
Unknown,
|
||||
ApiKeyMissing
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
namespace NadekoBot.Modules.Searches.Services;
|
||||
|
||||
public sealed class WikiaResponse
|
||||
{
|
||||
public required string Url { get; init; }
|
||||
public required string Title { get; init; }
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
namespace NadekoBot.Modules.Searches.Services;
|
||||
|
||||
public class WikipediaReply
|
||||
{
|
||||
public class Info
|
||||
{
|
||||
public required string Url { get; init; }
|
||||
}
|
||||
|
||||
public required Info Data { get; init; }
|
||||
}
|
||||
Reference in New Issue
Block a user