diff --git a/adapters/qq/package.json b/adapters/qq/package.json index 1565669f..52986434 100644 --- a/adapters/qq/package.json +++ b/adapters/qq/package.json @@ -1,7 +1,7 @@ { "name": "@satorijs/adapter-qq", "description": "QQ Adapter for Satorijs", - "version": "4.1.12", + "version": "4.1.14", "main": "lib/index.js", "typings": "lib/index.d.ts", "files": [ diff --git a/adapters/qq/src/bot/guild.ts b/adapters/qq/src/bot/guild.ts index 132a9136..8f9c2a97 100644 --- a/adapters/qq/src/bot/guild.ts +++ b/adapters/qq/src/bot/guild.ts @@ -26,6 +26,14 @@ export class QQGuildBot extends Bot { this.http = config.parent.guildHttp } + get status() { + return this.parent.status + } + + set status(status) { + this.parent.status = status + } + async getUser(userId: string, guildId?: string): Promise { const { user } = await this.getGuildMember(guildId, userId) return user