20 lines
646 B
C#
20 lines
646 B
C#
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) + "...";
|
|
}
|
|
} |