diff options
Diffstat (limited to 'discord/channel.hpp')
-rw-r--r-- | discord/channel.hpp | 1 |
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; }; |