diff options
Diffstat (limited to 'src/discord/webhook.hpp')
-rw-r--r-- | src/discord/webhook.hpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/discord/webhook.hpp b/src/discord/webhook.hpp index f0214df..3b9eeb9 100644 --- a/src/discord/webhook.hpp +++ b/src/discord/webhook.hpp @@ -22,3 +22,12 @@ struct WebhookData { friend void from_json(const nlohmann::json &j, WebhookData &m); }; + +struct WebhookMessageData { + Snowflake MessageID; + Snowflake WebhookID; + std::string Username; + std::string Avatar; + + std::string GetAvatarURL() const; +}; |