| 24 | namespace dpp { |
| 25 | |
| 26 | void cluster::create_webhook(const class webhook &wh, command_completion_event_t callback) { |
| 27 | rest_request<webhook>(this, API_PATH "/channels", std::to_string(wh.channel_id), "webhooks", m_post, wh.build_json(false), callback); |
| 28 | } |
| 29 | |
| 30 | void cluster::delete_webhook(snowflake webhook_id, command_completion_event_t callback) { |
| 31 | rest_request<confirmation>(this, API_PATH "/webhooks", std::to_string(webhook_id), "", m_delete, "", callback); |
nothing calls this directly
no test coverage detected