diff --git a/package.json b/package.json index a2f9c4903..927e1256d 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/database/Moderation.js b/src/database/Moderation.js index 612ae3ed7..65abc948b 100644 --- a/src/database/Moderation.js +++ b/src/database/Moderation.js @@ -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})