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

Method current_user_join_thread

src/dpp/cluster/thread.cpp:26–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24namespace dpp {
25
26void cluster::current_user_join_thread(snowflake thread_id, command_completion_event_t callback) {
27 rest_request<confirmation>(this, API_PATH "/channels", std::to_string(thread_id), "/thread-members/@me", m_put, "", callback);
28}
29
30void cluster::current_user_leave_thread(snowflake thread_id, command_completion_event_t callback) {
31 rest_request<confirmation>(this, API_PATH "/channels", std::to_string(thread_id), "/thread-members/@me", m_delete, "", callback);

Callers

nothing calls this directly

Calls 1

to_stringFunction · 0.85

Tested by

no test coverage detected