public async Task GetMapList(CommandContext ctx) { if (ctx.Guild.Id != 572662006692315136) { await ctx.RespondAsync("Command is not usable within this guild"); return; } var result = await DatabaseModule.GetAllMapNames(); result.Sort(); string responsestring = "List of maps available:\n```\n"; foreach (var item in result) { responsestring += $"{item}, "; } responsestring += "\n```"; await ctx.RespondAsync(responsestring); }