Skip to main content
Module

x/discordeno/mod.ts>getBans

Discord API library for Deno
Extremely Popular
Go to Latest
function getBans
import { getBans } from "https://deno.land/x/discordeno@13.0.0-rc45/mod.ts";

Returns a list of ban objects for the users banned from this guild. Requires the BAN_MEMBERS permission.

Parameters

bot: Bot
guildId: bigint
optional
options: GetBans