Whoops...

This commit is contained in:
rainbow napkin 2025-11-06 19:00:30 -05:00
parent affdd98572
commit d7c55fe3da

View file

@ -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;