aboutsummaryrefslogtreecommitdiff
path: root/src/lib/extensions/discord.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/extensions/discord.js')
-rw-r--r--src/lib/extensions/discord.js/BushGuildMember.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/extensions/discord.js/BushGuildMember.ts b/src/lib/extensions/discord.js/BushGuildMember.ts
index fb85d7f..40e4a3a 100644
--- a/src/lib/extensions/discord.js/BushGuildMember.ts
+++ b/src/lib/extensions/discord.js/BushGuildMember.ts
@@ -136,7 +136,8 @@ export class BushGuildMember extends GuildMember {
user: this,
guild: this.guild,
duration: options.duration,
- modlog: modlog.id
+ modlog: modlog.id,
+ role: options.role.id
})
.catch(() => null);
if (!punishmentEntrySuccess) return 'error creating role entry';