summaryrefslogtreecommitdiff
path: root/discord/channel.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'discord/channel.hpp')
-rw-r--r--discord/channel.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/discord/channel.hpp b/discord/channel.hpp
index 606686d..942d555 100644
--- a/discord/channel.hpp
+++ b/discord/channel.hpp
@@ -85,6 +85,8 @@ struct ChannelData {
void update_from_json(const nlohmann::json &j);
bool NSFW() const;
+ bool IsThread() const noexcept;
+ bool IsJoinedThread() const;
std::optional<PermissionOverwrite> GetOverwrite(Snowflake id) const;
std::vector<UserData> GetDMRecipients() const;
};