blob: 11875f3293408c1efb72338fcc6acec7c9390367 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import type { BushClient, BushGuild, BushUser } from '#lib';
import { GuildBan } from 'discord.js';
import type { RawGuildBanData } from 'discord.js/typings/rawDataTypes';
/**
* Represents a ban in a guild on Discord.
*/
export class BushGuildBan extends GuildBan {
public constructor(client: BushClient, data: RawGuildBanData, guild: BushGuild);
public guild: BushGuild;
public user: BushUser;
public readonly partial: boolean;
public reason?: string | null;
public fetch(force?: boolean): Promise<BushGuildBan>;
}
|