| 64 | } |
| 65 | |
| 66 | void 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 | |
| 70 | void 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); |