| 48 | } |
| 49 | |
| 50 | void cluster::global_command_edit(const slashcommand &s, command_completion_event_t callback) { |
| 51 | rest_request<confirmation>(this, API_PATH "/applications", std::to_string(s.application_id ? s.application_id : me.id), "commands/" + std::to_string(s.id), m_patch, s.build_json(true), callback); |
| 52 | } |
| 53 | |
| 54 | void cluster::global_commands_get(command_completion_event_t callback) { |
| 55 | rest_request_list<slashcommand>(this, API_PATH "/applications", std::to_string(me.id), "commands", m_get, "", callback); |
nothing calls this directly
no test coverage detected