summaryrefslogtreecommitdiff
path: root/discord/emoji.hpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2020-12-15 01:51:49 -0500
committerouwou <26526779+ouwou@users.noreply.github.com>2020-12-15 01:51:49 -0500
commit2667a4b30dd346f70aa8ca1ee7994c559be6d2bb (patch)
tree0ff7113d5c30e465e83a330fc1f19bd803bcc68d /discord/emoji.hpp
parent0c313ce5e8e849bcbaf23fcdf86f31ea38475d0e (diff)
downloadabaddon-portaudio-2667a4b30dd346f70aa8ca1ee7994c559be6d2bb.tar.gz
abaddon-portaudio-2667a4b30dd346f70aa8ca1ee7994c559be6d2bb.zip
display reactions + click to add/remove
Diffstat (limited to 'discord/emoji.hpp')
-rw-r--r--discord/emoji.hpp1
1 files changed, 1 insertions, 0 deletions
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<bool> 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);