Nerfed $bf - now 1.8x
This commit is contained in:
@@ -19,7 +19,7 @@ namespace NadekoBot.Modules.Administration
|
||||
public class VoicePlusTextCommands
|
||||
{
|
||||
Regex channelNameRegex = new Regex(@"[^a-zA-Z0-9 -]", RegexOptions.Compiled);
|
||||
//guildid/voiceplustextenabled
|
||||
|
||||
private ConcurrentHashSet<ulong> voicePlusTextCache;
|
||||
public VoicePlusTextCommands()
|
||||
{
|
||||
|
@@ -4,6 +4,7 @@ using ImageProcessorCore;
|
||||
using NadekoBot.Attributes;
|
||||
using NadekoBot.Extensions;
|
||||
using NadekoBot.Services;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
@@ -91,9 +92,10 @@ namespace NadekoBot.Modules.Gambling
|
||||
|
||||
string str;
|
||||
if (isHeads == result)
|
||||
{
|
||||
str = $"{umsg.Author.Mention}`You guessed it!` You won {amount * 2}{Gambling.CurrencySign}";
|
||||
await CurrencyHandler.AddCurrencyAsync((IGuildUser)umsg.Author, "Betflip Gamble", amount * 2, false).ConfigureAwait(false);
|
||||
{
|
||||
var toWin = (int)Math.Round(amount * 1.8);
|
||||
str = $"{umsg.Author.Mention}`You guessed it!` You won {toWin}{Gambling.CurrencySign}";
|
||||
await CurrencyHandler.AddCurrencyAsync((IGuildUser)umsg.Author, "Betflip Gamble", toWin, false).ConfigureAwait(false);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user