Whoops...
This commit is contained in:
parent
affdd98572
commit
d7c55fe3da
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue