| 104 | } |
| 105 | |
| 106 | void 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 | |
| 110 | void cluster::guild_command_edit_permissions(const slashcommand &s, snowflake guild_id, command_completion_event_t callback) { |
| 111 | json j; |