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

x/natico/examples/deps.ts>addToThread

A powerful and customizable framework for Discordeno
Latest
function addToThread
import { addToThread } from "https://deno.land/x/natico@4.0.0-pre.4/examples/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