D++ (DPP)
C++ Discord API Bot Library
|
Base event parameter struct. More...
#include <dispatcher.h>
Public Member Functions | |
event_dispatch_t (class DiscordClient *client, const std::string &raw) | |
Public Attributes | |
std::string | raw_event |
class DiscordClient * | from |
Base event parameter struct.
dpp::event_dispatch_t::event_dispatch_t | ( | class DiscordClient * | client, |
const std::string & | raw | ||
) |
Constructor
client | The shard the event originated on |
raw | Raw event text as JSON |
class DiscordClient* dpp::event_dispatch_t::from |
Shard the event came from
std::string dpp::event_dispatch_t::raw_event |
Raw event text