aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/discord.js/BushGuildBan.ts
blob: d56c5315536a200d24e04d5b4a1e3f532ad3bf47 (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 declare class BushGuildBan extends GuildBan {
	public constructor(client: BushClient, data: RawGuildBanData, guild: BushGuild);
	public guild: BushGuild;
	public user: BushUser;
	public get partial(): boolean;
	public reason?: string | null;
	public fetch(force?: boolean): Promise<BushGuildBan>;
}