Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Extremely Popular
Go to Latest
function addToThread
import { addToThread } from "https://deno.land/x/discordeno@13.0.0-rc45/plugins/permissions/deps.ts";

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

Parameters

bot: Bot
threadId: bigint
userId: bigint