diff options
| author | Max Charrier <max@puffer.fish> | 2024-11-05 17:54:59 +0100 |
|---|---|---|
| committer | Max Charrier <max@puffer.fish> | 2024-11-05 17:54:59 +0100 |
| commit | 53541949e96e383eb341498b6e83efe493b6f7d6 (patch) | |
| tree | 9bbf7ade942298df852fe5c55f76d7517015cddf | |
| parent | bab7de257e42d0acf5eee2b77f9482ba2d607e01 (diff) | |
Fix last symbol def
Signed-off-by: Max Charrier <max@puffer.fish>
| -rw-r--r-- | discordjs/src/index.mjs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discordjs/src/index.mjs b/discordjs/src/index.mjs index 8eecbd4..2e59997 100644 --- a/discordjs/src/index.mjs +++ b/discordjs/src/index.mjs @@ -85,7 +85,7 @@ const messageAction = async (message, ctx) => { let shouldReplyByCounter = messageReplyCounter >= Math.floor(Math.random() * 75) + 35; let shouldReply = ( - (ctx === Symbol.for("CREATE") && shouldReplyByTimestamp) || + (ctx === SYMBOL_FOR_CREATE && shouldReplyByTimestamp) || shouldReplyByCounter || specialChannels.includes(message.channelId) || message.guild == null |
