internal async Task GetSignupDetails(ulong discordId, ISocketMessageChannel channel, ulong requestor) { var signup = GetSignupByDiscordId(discordId); if (signup is null) { await channel.SendMessageAsync("", false, Embeds.NoSignup(discordId)).ConfigureAwait(false); return; } var profileName = signup[0].ToString(); var id = signup[1].ToString(); var profileLink = signup[4].ToString(); var status = signup[24].ToString(); var r = await GetAccountsFromWebApp(int.Parse(signup[(int)ColumnIDs.PlayerID].ToString())); r = r.Where(x => _allowedPlatforms.Contains(x.type)).ToArray(); var platformLinks = string.Join("\r\n", r.Select(x => x.type + ": " + (x.type == "steam" ? x.id : x.name))); var message = await channel.SendMessageAsync("", false, Embeds.SignupDetails(profileName, id, profileLink, status, platformLinks, requestor)).ConfigureAwait(false); }