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

Method global_command_get

src/dpp/cluster/appcommand.cpp:42–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40}
41
42void cluster::global_command_get(snowflake id, command_completion_event_t callback) {
43 rest_request<slashcommand>(this, API_PATH "/applications", std::to_string(me.id), "commands/" + std::to_string(id), m_get, "", callback);
44}
45
46void cluster::global_command_delete(snowflake id, command_completion_event_t callback) {
47 rest_request<confirmation>(this, API_PATH "/applications", std::to_string(me.id), "commands/" + std::to_string(id), m_delete, "", callback);

Callers

nothing calls this directly

Calls 1

to_stringFunction · 0.85

Tested by

no test coverage detected