![]() |
D++ (DPP)
C++ Discord API Bot Library
|
Base event parameter struct. More...
#include <dispatcher.h>
Inheritance diagram for dpp::event_dispatch_t:
Collaboration diagram for dpp::event_dispatch_t:Public Member Functions | |
| event_dispatch_t (class discord_client *client, const std::string &raw) | |
Public Attributes | |
| class discord_client * | from |
| std::string | raw_event |
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