diff --git a/permissions/plugin.json b/permissions/plugin.json index 4cec034..e4ec197 100644 --- a/permissions/plugin.json +++ b/permissions/plugin.json @@ -3,7 +3,7 @@ "name": "permissions", "description": "Official permissions system for commands", "tags": ["api", "permissions"], - "version": "0.1.0", + "version": "0.1.1", "dependencies": ["control?"], "npmDependencies": [] } diff --git a/permissions/plugin.ts b/permissions/plugin.ts index 2fa417a..98040e5 100644 --- a/permissions/plugin.ts +++ b/permissions/plugin.ts @@ -113,8 +113,7 @@ class PermissionsPlugin extends Plugin { unloadEventHandler(plugin: string | Plugin): void { if (plugin === this.name || plugin === this) { logger.debug('[%s]', this.name, 'shutting down..'); - this.config.save().then(() => - this.emit('pluginUnloaded', this)); + this.emit('pluginUnloaded', this); } } diff --git a/simplecommands/plugin.json b/simplecommands/plugin.json index b256817..19dbfa6 100644 --- a/simplecommands/plugin.json +++ b/simplecommands/plugin.json @@ -3,7 +3,7 @@ "name": "simplecommands", "description": "Official Simplistic Commands API for Squeebot 3", "tags": ["handler", "commands", "api"], - "version": "1.1.1", + "version": "1.1.2", "dependencies": ["control?", "permissions?"], "npmDependencies": [] } diff --git a/simplecommands/plugin.ts b/simplecommands/plugin.ts index 0c84d97..129e914 100644 --- a/simplecommands/plugin.ts +++ b/simplecommands/plugin.ts @@ -523,8 +523,7 @@ class SqueebotCommandsAPIPlugin extends Plugin { unloadEventHandler(plugin: string | Plugin): void { if (plugin === this.name || plugin === this) { logger.debug('[%s] shutting down..', this.name); - this.config.save().then(() => - this.emit('pluginUnloaded', this)); + this.emit('pluginUnloaded', this); } } diff --git a/squeebot.repo.json b/squeebot.repo.json index 9383fad..2a5146c 100644 --- a/squeebot.repo.json +++ b/squeebot.repo.json @@ -11,15 +11,15 @@ }, { "name": "permissions", - "version": "0.1.0" + "version": "0.1.1" }, { "name": "simplecommands", - "version": "1.1.1" + "version": "1.1.2" }, { "name": "xprotocol", - "version": "1.0.0" + "version": "1.0.1" } ], "typescript": true diff --git a/xprotocol/plugin.json b/xprotocol/plugin.json index b49641c..022687f 100644 --- a/xprotocol/plugin.json +++ b/xprotocol/plugin.json @@ -3,7 +3,7 @@ "name": "xprotocol", "description": "API for sending messages to other protocols", "tags": ["messages", "relaying", "api"], - "version": "1.0.0", + "version": "1.0.1", "dependencies": ["control?"], "npmDependencies": [] } diff --git a/xprotocol/plugin.ts b/xprotocol/plugin.ts index a194970..1d8e24e 100644 --- a/xprotocol/plugin.ts +++ b/xprotocol/plugin.ts @@ -46,7 +46,7 @@ class XProtocolPlugin extends Plugin { this.on('send', (data: any[]) => { const target = data[0]; this.sendTo(target, ...data.slice(1)).catch((error: Error) => { - logger.error(`[sendto] Sending to protocol from event failed:`, error.message ?? error); + logger.error(`[xprotocol] Sending to protocol from event failed:`, error.message ?? error); }); }); }