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

x/natico/examples/deps.ts>removeThreadMember

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