aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-07-31 15:40:19 -0400
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2021-07-31 15:40:19 -0400
commit2f2a85707737753b23c8036de085c322641695e1 (patch)
tree0284468384fbbb304342d6c813db40d28ca6b7b3
parent534aed7f7cd700cc83a9d61f928bba6628e05c86 (diff)
downloadtanzanite-2f2a85707737753b23c8036de085c322641695e1.tar.gz
tanzanite-2f2a85707737753b23c8036de085c322641695e1.tar.bz2
tanzanite-2f2a85707737753b23c8036de085c322641695e1.zip
fix automod content
-rw-r--r--src/listeners/message/automodCreate.ts2
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()
]