Пример #1
0
 public async Task AddMoney(CommandContext ctx, int money)
 {
     user_money = ctx.Member.Username;
     Talony.StreamReader();
     Talony.i_money = Talony.i_money + money;
     Talony.StreamWriter();
     await ctx.RespondAsync($"Dodano {money} dla użytkownika {user_money}, {Talony.i_money} ");
 }
Пример #2
0
 public async Task Money(CommandContext ctx)
 {
     user_money = ctx.Member.Username;
     Talony.StreamReader();
     await ctx.RespondAsync($"Stan konta {user_money} wynosi: {Talony.i_money}");
 }