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

Method guild_template_sync

src/dpp/cluster/template.cpp:54–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52
53
54void cluster::guild_template_sync(snowflake guild_id, const std::string &code, command_completion_event_t callback) {
55 rest_request<dtemplate>(this, API_PATH "/guilds", std::to_string(guild_id), "templates/" + code, m_put, "", callback);
56}
57
58
59void cluster::template_get(const std::string &code, command_completion_event_t callback) {

Callers

nothing calls this directly

Calls 1

to_stringFunction · 0.85

Tested by

no test coverage detected