From ad773346b5ac47b383045d7446509f51be12278f Mon Sep 17 00:00:00 2001 From: PHIDIAS Date: Sat, 14 Jun 2025 01:50:28 +0900 Subject: [PATCH] . --- controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller.js b/controller.js index 435ac93..5db7882 100644 --- a/controller.js +++ b/controller.js @@ -74,7 +74,7 @@ class LibreTranslateAPI { class ControllerPlugin extends BaseControllerPlugin { async init() { this.controller.config.on('fieldChanged', (field, curr, prev) => { - if (field === 'chat_sync.discord_bot_token') this.connect().catch(err => {this.logger.error(`Unexpected error:\n${err.stack}`)}); + if (field === 'chat_sync.discord_bot_token') this.connect().catch(err => {this.logger.error(`Unexpected error:\n${err.stack}`);}); }); this.controller.handle(InstanceActionEvent, this.handleInstanceAction.bind(this));