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

Internal event handler for GUILD_ROLE_CREATE websocket events. More...

#include "event.h"

Inheritance diagram for dpp::events::guild_role_create:
Collaboration diagram for dpp::events::guild_role_create:

Public Member Functions

virtual void handle (class dpp::discord_client *client, nlohmann::json &j, const std::string &raw)
 Handle event. More...
 

Detailed Description

Internal event handler for GUILD_ROLE_CREATE websocket events.

Called for each websocket message of this type.

Member Function Documentation

◆ handle()

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

Handle event.

Parameters
clientWebsocket client (current shard)
jJSON data for the event
rawRaw JSON string

Implements dpp::events::event.

References dpp::managed::id, and dpp::guild::roles.


The documentation for this class was generated from the following files: