public async Task GenerateEloRatingsForGameAsync(int gameId) { var eloRatingService = new EloRatingService(_db); await Context.Channel.SendMessageAsync($"Generating Elo Ratings for Game {gameId}..."); await eloRatingService.GenerateEloRatingsForGameAsync(gameId); await Context.Channel.SendMessageAsync("Done."); }
public async Task GenerateEloRatingsForAllGamesAsync() { var eloRatingService = new EloRatingService(_db); await Context.Channel.SendMessageAsync("Generating Elo Ratings for All Games..."); await eloRatingService.GenerateEloRatingsForAllGamesAsync(Context.Guild.Id, true); await Context.Channel.SendMessageAsync("Done."); }