Skip to main content
Module

x/harmony/mod.ts>GuildBans#remove

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

Unbans (removes ban from) a User.

Parameters

user: string | User

User to unban, ID or User object.

optional
reason: string

Reason for the Unban.

Returns

Promise<boolean>