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