This commit is contained in:
Tyrrrz
2023-05-24 21:51:24 +03:00
parent 41b4e47d0e
commit c48899e0b1
2 changed files with 76 additions and 69 deletions

View File

@@ -38,8 +38,8 @@ public class GetChannelsCommand : DiscordCommandBase
var threads = IncludeThreads
? (await Discord.GetGuildThreadsAsync(GuildId, cancellationToken))
.OrderBy(c => c.Name)
.ToArray()
.OrderBy(c => c.Name)
.ToArray()
: Array.Empty<ChannelThread>();
foreach (var channel in channels)
@@ -74,7 +74,7 @@ public class GetChannelsCommand : DiscordCommandBase
// Thread name
using (console.WithForegroundColor(ConsoleColor.White))
await console.Output.WriteLineAsync($"Thread / {thread.Name}");
}
}
}
}
}