mirror of
https://github.com/RPCS3/discord-bot.git
synced 2024-12-11 04:36:14 +00:00
Merge pull request #200 from 13xforever/vnext
Make !explain update consistent
This commit is contained in:
commit
f1168e24ea
@ -189,7 +189,8 @@ namespace CompatBot.Commands
|
||||
await ctx.ReactWithAsync(Config.Reactions.Failure, $"Term `{term}` is not defined").ConfigureAwait(false);
|
||||
else
|
||||
{
|
||||
item.Text = explanation ?? "";
|
||||
if (!string.IsNullOrEmpty(explanation))
|
||||
item.Text = explanation;
|
||||
if (attachment?.Length > 0)
|
||||
{
|
||||
item.Attachment = attachment;
|
||||
|
Loading…
Reference in New Issue
Block a user