fixed 1 being treated as 'allin', close #1844
This commit is contained in:
parent
7a85677d74
commit
c7e7b18b7b
@ -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)
|
||||
{
|
||||
|
@ -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 _)
|
||||
|
Loading…
Reference in New Issue
Block a user