Rename 'list guilds' to 'list servers'; use 'servers' in all user-facing text; simplify token setup in docs

Agent-Logs-Url: https://github.com/Tyrrrz/DiscordChatExporter/sessions/688f7e3c-af04-410d-93e7-18d7c0620672

Co-authored-by: Tyrrrz <1935960+Tyrrrz@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot]
2026-04-04 09:10:11 +00:00
committed by GitHub
parent 245b368396
commit 4ec8faef93
3 changed files with 40 additions and 20 deletions

View File

@@ -16,7 +16,7 @@ namespace DiscordChatExporter.Cli.Commands;
[Command("list channels", Description = "Gets the list of channels in one or more servers.")]
public partial class GetChannelsCommand : DiscordCommandBase
{
[CommandParameter(0, Name = "guild-ids", Description = "Server ID(s).")]
[CommandParameter(0, Name = "server-ids", Description = "Server ID(s).")]
public required IReadOnlyList<Snowflake> GuildIds { get; set; }
[CommandOption("include-vc", Description = "Include voice channels.")]
@@ -71,7 +71,7 @@ public partial class GetChannelsCommand : DiscordCommandBase
}
else
{
// Show guild header when listing multiple guilds
// Show server header when listing multiple servers
if (GuildIds.Count > 1)
{
var guild = await Discord.GetGuildAsync(guildId, cancellationToken);

View File

@@ -9,7 +9,7 @@ using DiscordChatExporter.Core.Utils.Extensions;
namespace DiscordChatExporter.Cli.Commands;
[Command("list guilds", Description = "Gets the list of accessible servers.")]
[Command("list servers", Description = "Gets the list of accessible servers.")]
public partial class GetGuildsCommand : DiscordCommandBase
{
public override async ValueTask ExecuteAsync(IConsole console)