From a0599ab812280c74fdeb6b622bf9701f10d659ea Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Sun, 20 Feb 2022 01:19:18 -0500 Subject: parse role mentions --- src/discord/role.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/discord/role.hpp') diff --git a/src/discord/role.hpp b/src/discord/role.hpp index f638b65..a526f4e 100644 --- a/src/discord/role.hpp +++ b/src/discord/role.hpp @@ -16,5 +16,8 @@ struct RoleData { bool IsManaged; bool IsMentionable; + bool HasColor() const noexcept; + Glib::ustring GetEscapedName() const; + friend void from_json(const nlohmann::json &j, RoleData &m); }; -- cgit v1.2.3