mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-03-01 20:53:41 +00:00
Add --include-threads and --include-archived-threads to exportguild
Related to #1119
This commit is contained in:
@@ -14,6 +14,8 @@ public class GetDirectChannelsCommand : DiscordCommandBase
|
||||
{
|
||||
public override async ValueTask ExecuteAsync(IConsole console)
|
||||
{
|
||||
await base.ExecuteAsync(console);
|
||||
|
||||
var cancellationToken = console.RegisterCancellationHandler();
|
||||
|
||||
var channels = (await Discord.GetGuildChannelsAsync(Guild.DirectMessages.Id, cancellationToken))
|
||||
|
||||
Reference in New Issue
Block a user