Skip to content

Commit

Permalink
Update index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
idranme committed Nov 23, 2024
1 parent 88995e1 commit 603ce59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions adapters/qq/src/bot/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ export class QQBot<C extends Context = Context> extends Bot<C, QQBot.Config> {
const user = await this.guildBot.internal.getMe()
Object.assign(this.user, user)
this.user.name = user.username
this.user.isBot = true
}

async stop() {
Expand Down

0 comments on commit 603ce59

Please sign in to comment.