summaryrefslogtreecommitdiff
path: root/src/discord/channel.hpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2022-01-05 03:52:20 -0500
committerouwou <26526779+ouwou@users.noreply.github.com>2022-01-05 03:52:20 -0500
commit40106ddeb11a755864e446920b74739f1ec21c57 (patch)
treeaccbb08e769727e623fb53223d00e71b1c57482e /src/discord/channel.hpp
parent8695562cb4b34c70d4d6b607042988de7b6e244d (diff)
downloadabaddon-portaudio-40106ddeb11a755864e446920b74739f1ec21c57.tar.gz
abaddon-portaudio-40106ddeb11a755864e446920b74739f1ec21c57.zip
handle mutable categories
Diffstat (limited to 'src/discord/channel.hpp')
-rw-r--r--src/discord/channel.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/discord/channel.hpp b/src/discord/channel.hpp
index fd76d3a..195a09a 100644
--- a/src/discord/channel.hpp
+++ b/src/discord/channel.hpp
@@ -88,6 +88,8 @@ struct ChannelData {
bool IsDM() const noexcept;
bool IsThread() const noexcept;
bool IsJoinedThread() const;
+ bool IsCategory() const noexcept;
+ std::vector<Snowflake> GetChildIDs() const;
std::optional<PermissionOverwrite> GetOverwrite(Snowflake id) const;
std::vector<UserData> GetDMRecipients() const;
};