Skip to main content
Module

x/harmony/mod.ts>RESTEndpoints#getGuildBan

An easy to use Discord API Library for Deno.
Go to Latest
method RESTEndpoints.prototype.getGuildBan
Re-export
import { RESTEndpoints } from "https://deno.land/x/harmony@v2.9.0/mod.ts";

Returns a ban object for the given user or a 404 not found if the ban cannot be found. Requires the BAN_MEMBERS permission.

Parameters

guildId: string
userId: string