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 --- src/discord/ban.hpp | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/discord/ban.hpp (limited to 'src/discord/ban.hpp') diff --git a/src/discord/ban.hpp b/src/discord/ban.hpp new file mode 100644 index 0000000..d417ce3 --- /dev/null +++ b/src/discord/ban.hpp @@ -0,0 +1,10 @@ +#pragma once +#include +#include "user.hpp" + +struct BanData { + std::string Reason; // null + UserData User; // access id + + friend void from_json(const nlohmann::json &j, BanData &m); +}; -- cgit v1.2.3