aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/discord.js/BushGuildBan.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/extensions/discord.js/BushGuildBan.d.ts')
-rw-r--r--src/lib/extensions/discord.js/BushGuildBan.d.ts14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/lib/extensions/discord.js/BushGuildBan.d.ts b/src/lib/extensions/discord.js/BushGuildBan.d.ts
new file mode 100644
index 0000000..0174220
--- /dev/null
+++ b/src/lib/extensions/discord.js/BushGuildBan.d.ts
@@ -0,0 +1,14 @@
+import { GuildBan } from 'discord.js';
+import { RawGuildBanData } from 'discord.js/typings/rawDataTypes';
+import { BushClient } from '../discord-akairo/BushClient';
+import { BushGuild } from './BushGuild';
+import { BushUser } from './BushUser';
+
+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>;
+}