From 11cc534cc895261d610eb9e7daa0672d8fb16e51 Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Mon, 13 Dec 2021 22:58:56 -0500 Subject: fixed the bushPunishRoleRemove event --- src/lib/extensions/discord.js/BushClientEvents.d.ts | 2 +- src/lib/extensions/discord.js/BushGuildMember.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/extensions/discord.js') diff --git a/src/lib/extensions/discord.js/BushClientEvents.d.ts b/src/lib/extensions/discord.js/BushClientEvents.d.ts index 7d22064..91096bd 100644 --- a/src/lib/extensions/discord.js/BushClientEvents.d.ts +++ b/src/lib/extensions/discord.js/BushClientEvents.d.ts @@ -189,8 +189,8 @@ export interface BushClientEvents extends AkairoClientEvents { victim: BushGuildMember, moderator: BushUser, guild: BushGuild, - caseID: string, reason: string | undefined, + caseID: string, role: BushRole, evidence?: string ]; diff --git a/src/lib/extensions/discord.js/BushGuildMember.ts b/src/lib/extensions/discord.js/BushGuildMember.ts index c4a2ed3..fe9c4c9 100644 --- a/src/lib/extensions/discord.js/BushGuildMember.ts +++ b/src/lib/extensions/discord.js/BushGuildMember.ts @@ -229,8 +229,8 @@ export class BushGuildMember extends GuildMember { this, moderator, this.guild, - caseID!, options.reason ?? undefined, + caseID!, options.role as BushRole, options.evidence ); -- cgit