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.hpp | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 discord/webhook.hpp (limited to 'discord/webhook.hpp') diff --git a/discord/webhook.hpp b/discord/webhook.hpp deleted file mode 100644 index f0214df..0000000 --- a/discord/webhook.hpp +++ /dev/null @@ -1,24 +0,0 @@ -#pragma once -#include -#include "json.hpp" -#include "snowflake.hpp" -#include "user.hpp" - -enum class WebhookType { - Incoming = 1, - ChannelFollower = 2, -}; - -struct WebhookData { - Snowflake ID; - WebhookType Type; - std::optional GuildID; - Snowflake ChannelID; - std::optional User; - std::string Name; // null - std::string Avatar; // null - std::optional Token; - Snowflake ApplicationID; // null - - friend void from_json(const nlohmann::json &j, WebhookData &m); -}; -- cgit v1.2.3