drawing 5 cards now mentions the person who invoked the command, thx Pajdo Warrior

This commit is contained in:
Master Kwoth 2016-07-02 22:42:45 +02:00
parent 9fec22a307
commit 1b3b65817e

View File

@ -79,7 +79,7 @@ namespace NadekoBot.Modules.Gambling
await e.Channel.SendFile(images.Count + " cards.jpg", bitmap.ToStream()).ConfigureAwait(false); await e.Channel.SendFile(images.Count + " cards.jpg", bitmap.ToStream()).ConfigureAwait(false);
if (cardObjects.Count == 5) if (cardObjects.Count == 5)
{ {
await e.Channel.SendMessage(Cards.GetHandValue(cardObjects)).ConfigureAwait(false); await e.Channel.SendMessage($"{e.User.Mention} `{Cards.GetHandValue(cardObjects)}`").ConfigureAwait(false);
} }
} }
catch (Exception ex) catch (Exception ex)