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

x/oasis/tests/deps.ts>addToThread

An object oriented Discordeno framework
Latest
function addToThread
import { addToThread } from "https://deno.land/x/oasis@2.1.0/tests/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