MCPcopy Create free account
hub / github.com/brainboxdotcc/DPP / guild_edit_widget

Method guild_edit_widget

src/dpp/cluster/guild.cpp:123–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121
122
123void cluster::guild_edit_widget(snowflake guild_id, const class guild_widget &gw, command_completion_event_t callback) {
124 rest_request<guild_widget>(this, API_PATH "/guilds", std::to_string(guild_id), "widget", m_patch, gw.build_json(), callback);
125}
126
127
128void cluster::guild_get_ban(snowflake guild_id, snowflake user_id, command_completion_event_t callback) {

Callers

nothing calls this directly

Calls 2

to_stringFunction · 0.85
build_jsonMethod · 0.80

Tested by

no test coverage detected