From a51a54bc5979a2491f152abc47ad54e6b63f27c8 Mon Sep 17 00:00:00 2001 From: Dylam De La Torre Date: Tue, 23 Nov 2021 05:21:56 +0100 Subject: Restructure source and resource files (#46) importantly, res is now res/res and css is now res/css --- discord/webhook.cpp | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 discord/webhook.cpp (limited to 'discord/webhook.cpp') 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); -} -- cgit v1.2.3