magicitem
This commit is contained in:
parent
a5f3f53f8f
commit
d8e0883b33
@ -1,5 +1,6 @@
|
|||||||
using NadekoBot.Extensions;
|
using NadekoBot.Extensions;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
using System.Web;
|
||||||
|
|
||||||
namespace NadekoBot.Classes.IMDB
|
namespace NadekoBot.Classes.IMDB
|
||||||
{
|
{
|
||||||
@ -44,7 +45,7 @@ namespace NadekoBot.Classes.IMDB
|
|||||||
public Dictionary<string, string> Aka { get; set; }
|
public Dictionary<string, string> Aka { get; set; }
|
||||||
|
|
||||||
public override string ToString() =>
|
public override string ToString() =>
|
||||||
$@"`Title:` {Title} {(string.IsNullOrEmpty(OriginalTitle) ? "" : $"({OriginalTitle})")}
|
$@"`Title:` {HttpUtility.HtmlDecode(Title)} {(string.IsNullOrEmpty(OriginalTitle) ? "" : $"({OriginalTitle})")}
|
||||||
`Year:` {Year}
|
`Year:` {Year}
|
||||||
`Rating:` {Rating}
|
`Rating:` {Rating}
|
||||||
`Genre:` {GenresAsString}
|
`Genre:` {GenresAsString}
|
||||||
|
@ -363,7 +363,7 @@ $@"🌍 **Weather for** 【{obj["target"]}】
|
|||||||
});
|
});
|
||||||
|
|
||||||
cgb.CreateCommand(Prefix + "mi")
|
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>")
|
.Description("Shows a random magicitem from <https://1d4chan.org/wiki/List_of_/tg/%27s_magic_items>")
|
||||||
.Do(async e =>
|
.Do(async e =>
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user