如题,翻了好久没找到方法
官q适配器
通过
ctx.command(‘gb’)
.action(async ({ session }) => {
await ctx.broadcast([‘qq:channelId’], ‘123’)
})
或者直接用/broadcast 123
都会app Error: property database is not registered, declare it as inject to suppress this warningbot
TypeError: Cannot read properties of undefined (reading ‘id’)
database启用了