diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-12-13 22:58:56 -0500 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2021-12-13 22:58:56 -0500 |
commit | 11cc534cc895261d610eb9e7daa0672d8fb16e51 (patch) | |
tree | b5e902acb1dc2969cbe2c1a8b529d6474a26bf61 /src/lib/extensions/discord.js | |
parent | 927a713035272eb00b19462d0431dad033264c52 (diff) | |
download | tanzanite-11cc534cc895261d610eb9e7daa0672d8fb16e51.tar.gz tanzanite-11cc534cc895261d610eb9e7daa0672d8fb16e51.tar.bz2 tanzanite-11cc534cc895261d610eb9e7daa0672d8fb16e51.zip |
fixed the bushPunishRoleRemove event
Diffstat (limited to 'src/lib/extensions/discord.js')
-rw-r--r-- | src/lib/extensions/discord.js/BushClientEvents.d.ts | 2 | ||||
-rw-r--r-- | src/lib/extensions/discord.js/BushGuildMember.ts | 2 |
2 files changed, 2 insertions, 2 deletions
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 ); |