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

Method guild_command_delete

src/dpp/cluster/appcommand.cpp:106–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104}
105
106void cluster::guild_command_delete(snowflake id, snowflake guild_id, command_completion_event_t callback) {
107 rest_request<confirmation>(this, API_PATH "/applications", std::to_string(me.id), "guilds/" + std::to_string(guild_id) + "/commands/" + std::to_string(id), m_delete, "", callback);
108}
109
110void cluster::guild_command_edit_permissions(const slashcommand &s, snowflake guild_id, command_completion_event_t callback) {
111 json j;

Callers 1

mainFunction · 0.80

Calls 1

to_stringFunction · 0.85

Tested by 1

mainFunction · 0.64