Fixed random currency generation image

This commit is contained in:
Kwoth 2017-01-08 15:37:12 +01:00
parent 3ad2b58ca1
commit 41c610c04f

View File

@ -95,6 +95,7 @@ namespace NadekoBot.Modules.Games
var sent = await channel.SendFileAsync(
File.Open(GetRandomCurrencyImagePath(), FileMode.OpenOrCreate),
"RandomFlower.jpg",
$"❗ A random { Gambling.Gambling.CurrencyName } appeared! Pick it up by typing `{NadekoBot.ModulePrefixes[typeof(Games).Name]}pick`")
.ConfigureAwait(false);
plantedFlowers.AddOrUpdate(channel.Id, new List<IUserMessage>() { sent }, (id, old) => { old.Add(sent); return old; });