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

Method edit_webhook

src/dpp/cluster/webhook.cpp:45–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45void cluster::edit_webhook(const class webhook& wh, command_completion_event_t callback) {
46 rest_request<webhook>(this, API_PATH "/webhooks", std::to_string(wh.id), "", m_patch, wh.build_json(false), callback);
47}
48
49void cluster::edit_webhook_message(const class webhook &wh, const struct message& m, snowflake thread_id, command_completion_event_t callback) {
50 std::string parameters = utility::make_url_parameters({

Callers

nothing calls this directly

Calls 2

to_stringFunction · 0.85
build_jsonMethod · 0.80

Tested by

no test coverage detected