mirror of
https://github.com/celisej567/abaddon.git
synced 2026-09-19 20:11:59 +03:00
display interaction responses (again)
This commit is contained in:
11
discord/interactions.cpp
Normal file
11
discord/interactions.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
#include "interactions.hpp"
|
||||
#include "json.hpp"
|
||||
#include "../abaddon.hpp"
|
||||
|
||||
void from_json(const nlohmann::json &j, MessageInteractionData &m) {
|
||||
JS_D("id", m.ID);
|
||||
JS_D("type", m.Type);
|
||||
JS_D("name", m.Name);
|
||||
JS_D("user", m.User);
|
||||
JS_O("member", m.Member);
|
||||
}
|
||||
Reference in New Issue
Block a user