summaryrefslogtreecommitdiff
path: root/discord/channel.hpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2021-07-26 02:10:56 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2021-07-26 02:10:56 -0400
commitede2f53ba537d13aca3f37ba4029166f780414a2 (patch)
tree5b8cb14f7097222b210d4733493192d6bb06fd7e /discord/channel.hpp
parentea9dd29721da8c8bef126462c2ee4fd1e53d7edc (diff)
parentdf243a40b5febcf7b9834e66f0ade770c3b483a0 (diff)
downloadabaddon-portaudio-ede2f53ba537d13aca3f37ba4029166f780414a2.tar.gz
abaddon-portaudio-ede2f53ba537d13aca3f37ba4029166f780414a2.zip
Merge branch 'channels-list'
Diffstat (limited to 'discord/channel.hpp')
-rw-r--r--discord/channel.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/discord/channel.hpp b/discord/channel.hpp
index b9bfd6d..68597e6 100644
--- a/discord/channel.hpp
+++ b/discord/channel.hpp
@@ -61,6 +61,7 @@ struct ChannelData {
friend void from_json(const nlohmann::json &j, ChannelData &m);
void update_from_json(const nlohmann::json &j);
+ bool NSFW() const;
std::optional<PermissionOverwrite> GetOverwrite(Snowflake id) const;
std::vector<UserData> GetDMRecipients() const;
};