Skip to main content
Latest
function removeThreadMember
import { removeThreadMember } from "https://deno.land/x/discordeno_cache_plugin@0.0.21/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