summaryrefslogtreecommitdiff
path: root/discord/ban.cpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2021-01-20 02:08:48 -0500
committerouwou <26526779+ouwou@users.noreply.github.com>2021-01-20 02:08:48 -0500
commita010aa11a559ba22c94dd3426fd1f313ee0ac667 (patch)
treee5fafac18da04f1c7f6bf7722ec71c428eaba250 /discord/ban.cpp
parent5d1db982cbbb375427b9c4475d5e347c5702b6df (diff)
downloadabaddon-portaudio-a010aa11a559ba22c94dd3426fd1f313ee0ac667.tar.gz
abaddon-portaudio-a010aa11a559ba22c94dd3426fd1f313ee0ac667.zip
add bans to guild settings, tweak some other things
Diffstat (limited to 'discord/ban.cpp')
-rw-r--r--discord/ban.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/discord/ban.cpp b/discord/ban.cpp
new file mode 100644
index 0000000..a354c15
--- /dev/null
+++ b/discord/ban.cpp
@@ -0,0 +1,6 @@
+#include "ban.hpp"
+
+void from_json(const nlohmann::json &j, BanData &m) {
+ JS_N("reason", m.Reason);
+ JS_D("user", m.User);
+}