Whoops...

This commit is contained in:
rainbow napkin 2025-11-05 18:46:51 -05:00
parent affdd98572
commit 001945a284

View file

@ -40,7 +40,7 @@ tokeCommandSchema.pre('save', async function (next){
if(this.isModified("command")){ if(this.isModified("command")){
if(server.channelManager != null && if(server.channelManager != null &&
server.channelManager.chatHandler != null && server.channelManager.chatHandler != null &&
server.channelManager.chatHandler.chatPreprocessor == null){ server.channelManager.chatHandler.chatPreprocessor != null){
//Get server tokebot object //Get server tokebot object
const tokebot = server.channelManager.chatHandler.chatPreprocessor.tokebot; const tokebot = server.channelManager.chatHandler.chatPreprocessor.tokebot;