fixed 1 being treated as 'allin', close #1844

This commit is contained in:
Master Kwoth 2017-11-17 18:48:38 +01:00
parent 7a85677d74
commit c7e7b18b7b
2 changed files with 2 additions and 2 deletions

View File

@ -278,7 +278,7 @@ namespace NadekoBot.Modules.Gambling
// });
// return Task.CompletedTask;
//}
public enum Allin { Allin, All }
public enum Allin { Allin = int.MinValue, All = int.MinValue }
private async Task InternallBetroll(long amount)
{

View File

@ -25,7 +25,7 @@ namespace NadekoBot.Modules.Gambling
_db = db;
}
public enum Allin { Allin, All }
public enum Allin { Allin = int.MinValue, All = int.MinValue }
[NadekoCommand, Usage, Description, Aliases]
public Task WheelOfFortune(Allin _)