Add --include-threads and --include-archived-threads to exportall

Related to #1119
This commit is contained in:
Tyrrrz
2023-08-21 17:44:54 +03:00
parent 8236ba7c4d
commit 758fb26dad
3 changed files with 65 additions and 14 deletions

View File

@@ -27,4 +27,7 @@ public static class ChannelKindExtensions
public static bool IsVoice(this ChannelKind kind) =>
kind is ChannelKind.GuildVoiceChat or ChannelKind.GuildStageVoice;
public static bool IsThread(this ChannelKind kind) =>
kind is ChannelKind.GuildNewsThread or ChannelKind.GuildPublicThread or ChannelKind.GuildPrivateThread;
}