Removed module projects because it can't work like that atm. Commented out package commands.
This commit is contained in:
20
NadekoBot.Core/Modules/Searches/Common/AnimeResult.cs
Normal file
20
NadekoBot.Core/Modules/Searches/Common/AnimeResult.cs
Normal file
@ -0,0 +1,20 @@
|
||||
using NadekoBot.Extensions;
|
||||
|
||||
namespace NadekoBot.Modules.Searches.Common
|
||||
{
|
||||
public class AnimeResult
|
||||
{
|
||||
public int id;
|
||||
public string AiringStatus => airing_status.ToTitleCase();
|
||||
public string airing_status;
|
||||
public string title_english;
|
||||
public int total_episodes;
|
||||
public string description;
|
||||
public string image_url_lge;
|
||||
public string[] Genres;
|
||||
public string average_score;
|
||||
|
||||
public string Link => "http://anilist.co/anime/" + id;
|
||||
public string Synopsis => description?.Substring(0, description.Length > 500 ? 500 : description.Length) + "...";
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user