D++ (DPP)
C++ Discord API Bot Library
dpp::events::guild_create Class Reference

Internal event handler for GUILD_CREATE websocket events. Called for each websocket message of this type. More...

+ Inheritance diagram for dpp::events::guild_create:
+ Collaboration diagram for dpp::events::guild_create:

Public Member Functions

virtual void handle (class dpp::discord_client *client, nlohmann::json &j, const std::string &raw)
 Pure virtual method for event handler code. More...
 

Detailed Description

Internal event handler for GUILD_CREATE websocket events. Called for each websocket message of this type.

Member Function Documentation

◆ handle()

virtual void dpp::events::guild_create::handle ( class dpp::discord_client client,
nlohmann::json &  j,
const std::string &  raw 
)
virtual

Pure virtual method for event handler code.

Parameters
clientThe creating shard
jThe json data of the event
rawThe raw event json

Implements dpp::events::event.

D++ Library version 9.0.13D++ Library version 9.0.12D++ Library version 9.0.11D++ Library version 9.0.10D++ Library version 9.0.9D++ Library version 9.0.8D++ Library version 9.0.7D++ Library version 9.0.6D++ Library version 9.0.5D++ Library version 9.0.4D++ Library version 9.0.3D++ Library version 9.0.2D++ Library version 9.0.1D++ Library version 9.0.0D++ Library version 1.0.2D++ Library version 1.0.1D++ Library version 1.0.0