summaryrefslogtreecommitdiff
path: root/discord/sticker.hpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2021-01-07 02:41:49 -0500
committerouwou <26526779+ouwou@users.noreply.github.com>2021-01-07 02:41:49 -0500
commit8cf95fce0cb233125334482149c2c9f4219da52b (patch)
treec0c2e267385363e0f87ad4c80d299c08d33a33a9 /discord/sticker.hpp
parent2d6c4cd50d0075c064641150dcf65e6b58d5bf36 (diff)
downloadabaddon-portaudio-8cf95fce0cb233125334482149c2c9f4219da52b.tar.gz
abaddon-portaudio-8cf95fce0cb233125334482149c2c9f4219da52b.zip
improve build process, add github actions
Diffstat (limited to 'discord/sticker.hpp')
-rw-r--r--discord/sticker.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/discord/sticker.hpp b/discord/sticker.hpp
index e6b34e6..89279b3 100644
--- a/discord/sticker.hpp
+++ b/discord/sticker.hpp
@@ -12,7 +12,7 @@ enum class StickerFormatType {
LOTTIE = 3,
};
-struct Sticker {
+struct StickerData {
Snowflake ID;
Snowflake PackID;
std::string Name;
@@ -22,8 +22,8 @@ struct Sticker {
std::optional<std::string> PreviewAssetHash;
StickerFormatType FormatType;
- friend void to_json(nlohmann::json &j, const Sticker &m);
- friend void from_json(const nlohmann::json &j, Sticker &m);
+ friend void to_json(nlohmann::json &j, const StickerData &m);
+ friend void from_json(const nlohmann::json &j, StickerData &m);
std::string GetURL() const;
};