Module

x/discordeno/plugins/fileloader/deps.ts>getBan

Discord API library for Deno
Latest
function getBan
import { getBan } from "https://dotland.deno.dev/x/discordeno@18.0.1/plugins/fileloader/deps.ts";

Gets a ban by user ID.

Parameters

bot: Bot
  • The bot instance to use to make the request.
guildId: BigString
  • The ID of the guild to get the ban from.
userId: BigString
  • The ID of the user to get the ban for.

Returns

Promise<Ban>

An instance of Ban.