Skip to content

Commit

Permalink
Fix logging moderations
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianVennen committed Aug 15, 2023
1 parent ada995d commit fe0f540
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "modbot",
"version": "3.4.3",
"version": "3.4.4",
"description": "Discord Bot for the Aternos Discord server",
"main": "index.js",
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion src/database/Moderation.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ export default class Moderation {
new KeyValueEmbed()
.setColor(resolveColor(this.action))
.setAuthor({
name: `Case ${this.id} | ${toTitleCase(this.action)} | ${await member.displayName}`,
name: `Case ${this.id} | ${toTitleCase(this.action)} | ${await member.displayName()}`,
iconURL: await member.displayAvatarURL()
})
.setFooter({text: user.id})
Expand Down

0 comments on commit fe0f540

Please sign in to comment.