public async Task DailyFcReset() { if (IsAdmin(Context.User.Id)) { await ReplyAsync(_fc.DailyReset()); } else { await ReplyAsync("You do not have permission to do this."); } }
//updates data private void DoUpdate() { _fc.DailyReset(); }
public async Task DailyFcReset() { if (IsAdmin(Context.User.Id)) { await ReplyAsync(_fc.DailyReset()); } else { await ReplyAsync("You do not have permission to do this."); } }
//updates data private void DoUpdate() { _fc.DailyReset(); }