diff options
Diffstat (limited to 'src/listeners/message')
-rw-r--r-- | src/listeners/message/automodCreate.ts | 2 | ||||
-rw-r--r-- | src/listeners/message/verbose.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/listeners/message/automodCreate.ts b/src/listeners/message/automodCreate.ts index 5993e7a..94b73c7 100644 --- a/src/listeners/message/automodCreate.ts +++ b/src/listeners/message/automodCreate.ts @@ -116,7 +116,7 @@ export default class AutomodMessageCreateListener extends BushListener { message.url })\n**Blacklisted Words:** ${util.surroundArray(Object.keys(offences), '`').join(', ')}` ) - .addField('Message Content', `${await util.codeblock(message.content, 1024)}`) + .addField('Message Content', `${(await util.codeblock(message.content, 1024), true)}`) .setColor(color) .setTimestamp() ] diff --git a/src/listeners/message/verbose.ts b/src/listeners/message/verbose.ts index 517771e..b6085fb 100644 --- a/src/listeners/message/verbose.ts +++ b/src/listeners/message/verbose.ts @@ -11,7 +11,7 @@ export default class MessageVerboseListener extends BushListener { } public override exec(...[message]: BushClientEvents['messageCreate']): void { - if (client.isReady()) { + if (client.customReady) { if (message.channel?.type === 'DM') return; void client.console.verbose( 'messageVerbose', |