Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/wackford/discordeno.ts>getBan

The wackiest Discord bot framework for Deno powered by Discordeno
Go to Latest
function getBan
import { getBan } from "https://deno.land/x/wackford@v0.0.5/discordeno.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.