diff options
-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 ); |