Yet another bugfix in !urban
This commit is contained in:
parent
14fcf74aea
commit
fb169738fe
1 changed files with 5 additions and 2 deletions
|
@ -52,7 +52,10 @@ namespace Geekbot.net.Commands
|
|||
eb.AddField("Example", definition.example ?? "(no example given...)");
|
||||
eb.AddInlineField("Upvotes", definition.thumbs_up);
|
||||
eb.AddInlineField("Downvotes", definition.thumbs_down);
|
||||
eb.AddField("Tags", string.Join(", ", definitions.tags));
|
||||
if (definitions.tags.Length > 0)
|
||||
{
|
||||
eb.AddField("Tags", string.Join(", ", definitions.tags));
|
||||
}
|
||||
|
||||
await ReplyAsync("", false, eb.Build());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue