summaryrefslogtreecommitdiff
path: root/discord/sticker.hpp
diff options
context:
space:
mode:
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;
};