Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/discordeno/helpers/channels/threads/mod.ts

Discord API library for Deno
Go to Latest
import * as discordeno from "https://deno.land/x/discordeno@13.0.0-rc45/helpers/channels/threads/mod.ts";

Functions

Adds a user to a thread. Requires the ability to send messages in the thread. Requires the thread is not archived.

Returns all active threads in the guild, including public and private threads. Threads are ordered by their id, in descending order.

Get the archived threads for this channel, defaults to public

Returns thread members objects that are members of the thread.

Returns thread members objects that are members of the thread.

Adds the bot to the thread. Cannot join an archived thread.

Removes the bot from a thread. Requires the thread is not archived.

Removes a user from a thread. Requires the MANAGE_THREADS permission or that you are the creator of the thread. Also requires the thread is not archived.

Creates a new public thread from an existing message. Returns a thread channel.

Creates a new private thread. Returns a thread channel.