magicitem

This commit is contained in:
Master Kwoth 2016-04-10 00:40:26 +02:00
parent a5f3f53f8f
commit d8e0883b33
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,6 @@
using NadekoBot.Extensions;
using System.Collections.Generic;
using System.Web;
namespace NadekoBot.Classes.IMDB
{
@ -44,7 +45,7 @@ namespace NadekoBot.Classes.IMDB
public Dictionary<string, string> Aka { get; set; }
public override string ToString() =>
$@"`Title:` {Title} {(string.IsNullOrEmpty(OriginalTitle) ? "" : $"({OriginalTitle})")}
$@"`Title:` {HttpUtility.HtmlDecode(Title)} {(string.IsNullOrEmpty(OriginalTitle) ? "" : $"({OriginalTitle})")}
`Year:` {Year}
`Rating:` {Rating}
`Genre:` {GenresAsString}

View File

@ -363,7 +363,7 @@ $@"🌍 **Weather for** 【{obj["target"]}】
});
cgb.CreateCommand(Prefix + "mi")
.Alias("magicitem")
.Alias(Prefix + "magicitem")
.Description("Shows a random magicitem from <https://1d4chan.org/wiki/List_of_/tg/%27s_magic_items>")
.Do(async e =>
{