mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-04-21 21:47:33 +00:00
Increase padding in output to accomodate longer snowflakes
This commit is contained in:
@@ -19,13 +19,14 @@ public class GetGuildsCommand : DiscordCommandBase
|
||||
var guilds = (await Discord.GetUserGuildsAsync(cancellationToken))
|
||||
// Show direct messages first
|
||||
.OrderByDescending(g => g.Id == Guild.DirectMessages.Id)
|
||||
.ThenBy(g => g.Name);
|
||||
.ThenBy(g => g.Name)
|
||||
.ToArray();
|
||||
|
||||
foreach (var guild in guilds)
|
||||
{
|
||||
// Guild ID
|
||||
await console.Output.WriteAsync(
|
||||
guild.Id.ToString().PadRight(18, ' ')
|
||||
guild.Id.ToString().PadRight(20, ' ')
|
||||
);
|
||||
|
||||
// Separator
|
||||
|
||||
Reference in New Issue
Block a user