Don't receive message on plant, especially not the wrong one
This commit is contained in:
		| @@ -140,7 +140,7 @@ namespace NadekoBot.Modules.Games | ||||
|                 if (channel == null) | ||||
|                     return; | ||||
|  | ||||
|                 var removed = await CurrencyHandler.RemoveCurrencyAsync((IGuildUser)imsg.Author, "Planted a flower.", 1, true).ConfigureAwait(false); | ||||
|                 var removed = await CurrencyHandler.RemoveCurrencyAsync((IGuildUser)imsg.Author, "Planted a flower.", 1, false).ConfigureAwait(false); | ||||
|                 if (!removed) | ||||
|                 { | ||||
|                     await channel.SendMessageAsync($"You don't have any {Gambling.Gambling.CurrencyName}s.").ConfigureAwait(false); | ||||
|   | ||||
| @@ -27,7 +27,7 @@ namespace NadekoBot.Services | ||||
|             } | ||||
|  | ||||
|             if (sendMessage) | ||||
|                 try { await author.SendMessageAsync($"`You received:` {amount} {Gambling.CurrencySign}\n`Reason:` {reason}").ConfigureAwait(false); } catch { } | ||||
|                 try { await author.SendMessageAsync($"`You lost:` {amount} {Gambling.CurrencySign}\n`Reason:` {reason}").ConfigureAwait(false); } catch { } | ||||
|  | ||||
|             return true; | ||||
|         } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user