From 2667a4b30dd346f70aa8ca1ee7994c559be6d2bb Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Tue, 15 Dec 2020 01:51:49 -0500 Subject: display reactions + click to add/remove --- discord/emoji.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'discord/emoji.hpp') diff --git a/discord/emoji.hpp b/discord/emoji.hpp index 18e69d3..71eb83a 100644 --- a/discord/emoji.hpp +++ b/discord/emoji.hpp @@ -16,6 +16,7 @@ struct Emoji { std::optional IsAvailable; friend void from_json(const nlohmann::json &j, Emoji &m); + friend void to_json(nlohmann::json &j, const Emoji &m); std::string GetURL() const; static std::string URLFromID(std::string emoji_id); -- cgit v1.2.3