diff options
Diffstat (limited to 'src/discord/guild.cpp')
-rw-r--r-- | src/discord/guild.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/discord/guild.cpp b/src/discord/guild.cpp index 3995293..bb99044 100644 --- a/src/discord/guild.cpp +++ b/src/discord/guild.cpp @@ -119,7 +119,7 @@ void GuildData::update_from_json(const nlohmann::json &j) { JS_RD("approximate_presence_count", ApproximatePresenceCount); } -bool GuildData::HasFeature(const std::string &search_feature) { +bool GuildData::HasFeature(const std::string &search_feature) const { if (!Features.has_value()) return false; for (const auto &feature : *Features) if (search_feature == feature) |