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