diff options
-rw-r--r-- | src/listeners/message/automodCreate.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/listeners/message/automodCreate.ts b/src/listeners/message/automodCreate.ts index af9bb10..c4cdea1 100644 --- a/src/listeners/message/automodCreate.ts +++ b/src/listeners/message/automodCreate.ts @@ -91,7 +91,7 @@ export default class AutomodMessageCreateListener extends BushListener { .surroundArray(Object.keys(offences), '`') .join()}` ) - .addField('Message Content', `${util.codeblock(message.content, 1024)}`) + .addField('Message Content', `${await util.codeblock(message.content, 1024)}`) .setColor(color) .setTimestamp() ] |