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

x/oasis/tests/deps.ts>removeThreadMember

An object oriented Discordeno framework
Latest
function removeThreadMember
import { removeThreadMember } from "https://deno.land/x/oasis@2.1.0/tests/deps.ts";

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.

Parameters

bot: Bot
threadId: bigint
userId: bigint