public async Task PushAvaUbUpdate(int id) { if (Context.Message.Author.Id != 195567858133106697) { return; } await ReplyAsync("Starting push!"); await AvastarObject.UpdateUBs(id); await ReplyAsync("Done!"); }
public async Task PushAvaUbUpdate(int first, int last) { if (Context.Message.Author.Id != 195567858133106697) { return; } for (int i = first; i <= last; i++) { await ReplyAsync($"Starting push for #{i}!"); await AvastarObject.UpdateUBs(i); await ReplyAsync($"Done pushing #{i}!"); } }