示例#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 CoinsLeaderboard() => await CoinsHandler.PrintCoinsLeaderboard(Context);
示例#3
0
 public async Task CoinsStore() => await CoinsHandler.DisplayCoinsStore(Context, (SocketGuildUser)Context.User, Context.Channel);
示例#4
0
 public async Task GiveCoins(SocketGuildUser user, [Remainder] int amount) => await CoinsHandler.GiveCoins(Context, (SocketGuildUser)Context.User, user, amount);
示例#5
0
 public async Task SeeCoins(SocketGuildUser user = null) => await CoinsHandler.DisplayCoins(Context, user ?? (SocketGuildUser)Context.User, Context.Channel);
示例#6
0
 public async Task PickPocketCoins(SocketGuildUser user) => await CoinsHandler.PickPocket(Context, user);