aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/discord.js/BushGuildBan.ts
blob: 496e7981e747cef3232b08552ca5ec9333eddd05 (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 readonly partial: boolean;
	public reason?: string | null;
	public fetch(force?: boolean): Promise<BushGuildBan>;
}