koishi-plugin-common
Advanced tools
Comparing version 3.0.0-beta.13 to 3.0.0-beta.14
@@ -13,4 +13,6 @@ "use strict"; | ||
return '请输入要发送的文本。'; | ||
if (!options.only) | ||
return ctx.broadcast(message, options.forced); | ||
if (!options.only) { | ||
await ctx.broadcast(message, options.forced); | ||
return; | ||
} | ||
let groups = await ctx.database.getAllGroups(['id', 'flag'], [session.selfId]); | ||
@@ -17,0 +19,0 @@ if (!options.forced) { |
{ | ||
"name": "koishi-plugin-common", | ||
"description": "Common plugins for Koishi", | ||
"version": "3.0.0-beta.13", | ||
"version": "3.0.0-beta.14", | ||
"main": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "typings": "dist/index.d.ts", |
Sorry, the diff of this file is not supported yet
58745
767