Skip to main content
Module

x/natico/discordeno_deps.ts>banMember

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