mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-05-11 22:54:09 +00:00
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:
committed by
GitHub
parent
245b368396
commit
4ec8faef93
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user