Parent Directory
|
Revision Log
|
Patch
revision 427 by rakin, Mon Jul 29 17:29:59 2024 UTC | revision 428 by rakin, Mon Jul 29 17:30:11 2024 UTC | |
---|---|---|
# | Line 149 export default class BanCommand extends | Line 149 export default class BanCommand extends |
149 | } | } |
150 | ||
151 | try { | try { |
152 | await msg.guild?.bans.create(user, banOptions); | await msg.guild?.bans.create(user, { ...banOptions, reason: `[BAN] ${banOptions.reason ?? '**No reason provided**'}` }); |
153 | ||
154 | await Punishment.create({ | await Punishment.create({ |
155 | type: PunishmentType.BAN, | type: PunishmentType.BAN, |
|
[email protected] | ViewVC Help |
Powered by ViewVC 1.1.26 |