summaryrefslogtreecommitdiff
path: root/discord/webhook.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'discord/webhook.cpp')
-rw-r--r--discord/webhook.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/discord/webhook.cpp b/discord/webhook.cpp
deleted file mode 100644
index 4e8b422..0000000
--- a/discord/webhook.cpp
+++ /dev/null
@@ -1,13 +0,0 @@
-#include "webhook.hpp"
-
-void from_json(const nlohmann::json &j, WebhookData &m) {
- JS_D("id", m.ID);
- JS_D("type", m.Type);
- JS_O("guild_id", m.GuildID);
- JS_D("channel_id", m.ChannelID);
- JS_O("user", m.User);
- JS_N("name", m.Name);
- JS_N("avatar", m.Avatar);
- JS_O("token", m.Token);
- JS_N("application_id", m.ApplicationID);
-}