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

x/oasis/tests/deps.ts>banMember

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

Ban a user from the guild and optionally delete previous messages sent by the user. Requires the BAN_MEMBERS permission.

Parameters

bot: Bot
guildId: bigint
id: bigint
optional
options: CreateGuildBan