From 001945a284920680f4740ad0b3f295c8adf62317 Mon Sep 17 00:00:00 2001 From: rainbow napkin Date: Wed, 5 Nov 2025 18:46:51 -0500 Subject: [PATCH] Whoops... --- src/schemas/tokebot/tokeCommandSchema.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/schemas/tokebot/tokeCommandSchema.js b/src/schemas/tokebot/tokeCommandSchema.js index 19283f8..635f487 100644 --- a/src/schemas/tokebot/tokeCommandSchema.js +++ b/src/schemas/tokebot/tokeCommandSchema.js @@ -40,7 +40,7 @@ tokeCommandSchema.pre('save', async function (next){ if(this.isModified("command")){ if(server.channelManager != null && server.channelManager.chatHandler != null && - server.channelManager.chatHandler.chatPreprocessor == null){ + server.channelManager.chatHandler.chatPreprocessor != null){ //Get server tokebot object const tokebot = server.channelManager.chatHandler.chatPreprocessor.tokebot;