public async Task NextRound(CommandContext ctx) { if (BotInfoHandler.pairsReady == false) { await NextPairs(ctx); //await ctx.RespondAsync(embed: new DiscordEmbedBuilder { // Title = "Pairs Not Assigned", // Description = "Type >nextpairs to be able to proceed to the next round.", // Color = DiscordColor.Red //}).ConfigureAwait(false); //return; } BotInfoHandler.gameHandler.currentRound++; BotInfoHandler.shopsSent = false; BotInfoHandler.pairsReady = false; for (int i = 0; i < BotInfoHandler.UIMessages.Count(); i++) { BotInfoHandler.UIMessages[i] = null; } GameHandlerMethods.NextRound(BotInfoHandler.gameHandler); await Task.Delay(3000); await ctx.RespondAsync(embed : new DiscordEmbedBuilder { Title = "New Round Started", Color = DiscordColor.Green }).ConfigureAwait(false); //await Task.Delay(1000); //await BotInfoHandler.RefreshPlayerList(ctx); await Task.Delay(1000); await SendShops(ctx); await Task.Delay(1000); await CreateInteractivePlayerlist(ctx); }