Skip to content

Commit

Permalink
fix(qq): fix send group msg using bot.sendMessage() (#195)
Browse files Browse the repository at this point in the history
  • Loading branch information
ilharp authored Dec 21, 2023
1 parent f302796 commit 00966c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adapters/qq/src/message.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ export class QQMessageEncoder<C extends Context = Context> extends MessageEncode
session.messageId = msg_id
} else {
// FIXME: missing message id
const resp = await this.bot.internal.sendMessage(this.guildId, data)
const resp = await this.bot.internal.sendMessage(this.session.channelId, data)
if (resp.msg !== 'success') {
this.bot.logger.warn(resp)
}
Expand Down

0 comments on commit 00966c8

Please sign in to comment.