예제 #1
0
 public async Task RemoveCoins(SocketGuildUser user, [Remainder] int amount)
 {
     if (!await Utilities.CheckForSuperadmin(Context, Context.User))
     {
         return;
     }
     await CoinsHandler.RemoveCoins(Context, user, amount);
 }
예제 #2
0
 public async Task CoinsStore() => await CoinsHandler.DisplayCoinsStore(Context, (SocketGuildUser)Context.User, Context.Channel);
예제 #3
0
 public async Task GiveCoins(SocketGuildUser user, [Remainder] int amount) => await CoinsHandler.GiveCoins(Context, (SocketGuildUser)Context.User, user, amount);
예제 #4
0
 public async Task SeeCoins(SocketGuildUser user = null) => await CoinsHandler.DisplayCoins(Context, user ?? (SocketGuildUser)Context.User, Context.Channel);
예제 #5
0
 public async Task ResetCoinsLottery() => await CoinsHandler.ResetCoinsLottery(Context, true);
예제 #6
0
 public async Task DrawCoinsLottery() => await CoinsHandler.DrawLottery(Context);
예제 #7
0
 public async Task JoinCoinsLottery() => await CoinsHandler.JoinCoinsLottery(Context);
예제 #8
0
 public async Task StartCoinsLottery(int amount, int cost) => await CoinsHandler.StartCoinsLottery(Context, amount, cost);
예제 #9
0
 public async Task PickPocketCoins(SocketGuildUser user = null) => await CoinsHandler.PickPocket(Context, user);
예제 #10
0
 public async Task CoinsLBShortcut() => await CoinsHandler.PrintCoinsLeaderboard(Context);