Skip to content

Commit

Permalink
Merge pull request #599 from MiataBoy/patch-2
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianVennen authored May 2, 2024
2 parents 59f83e6 + 8ef4e7d commit 7739529
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/discord/MemberWrapper.js
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ export default class MemberWrapper {
*/
async dmPunishedUser(verb, reason, duration, preposition = 'from') {
return this.guild.sendDM(this.user,
`You have been ${verb} ${preposition} ${bold(this.guild.guild.name)} ${duration ? `for ${formatTime(duration)}` : ''}: ${reason}`
`You have been ${verb} ${preposition} ${bold(this.guild.guild.name)}${duration ? ` for ${formatTime(duration)}` : ''}: ${reason}`
);
}

Expand Down

0 comments on commit 7739529

Please sign in to comment.