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

Method guild_bulk_command_delete

src/dpp/cluster/appcommand.cpp:66–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66void cluster::guild_bulk_command_delete(snowflake guild_id, command_completion_event_t callback) {
67 rest_request_list<slashcommand>(this, API_PATH "/applications", std::to_string(me.id), "guilds/" + std::to_string(guild_id) + "/commands", m_put, "{}", callback);
68}
69
70void cluster::guild_commands_get_permissions(snowflake guild_id, command_completion_event_t callback) {
71 rest_request_list<guild_command_permissions>(this, API_PATH "/applications", std::to_string(me.id), "guilds/" + std::to_string(guild_id) + "/commands/permissions", m_get, "", callback);

Callers 1

mainFunction · 0.80

Calls 1

to_stringFunction · 0.85

Tested by

no test coverage detected