Skip to main content
Extremely Popular
Go to Latest
function removeThreadMember
import { removeThreadMember } from "https://deno.land/x/discordeno@13.0.0-rc45/plugins/helpers/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