fix: 关联创建成功消息 QQ 群名称错误

This commit is contained in:
Clansty 2022-03-11 15:40:39 +08:00
parent 61a1eb24f3
commit f68cec6817
No known key found for this signature in database
GPG Key ID: 05F8479BA63A8E92
1 changed files with 1 additions and 1 deletions

View File

@ -249,7 +249,7 @@ export default class ConfigService {
const qGroup = this.oicq.getChat(qqRoomId) as Group;
const tgChat = await this.tgBot.getChat(tgChatId);
await this.instance.forwardPairs.add(qGroup, tgChat);
await tgChat.sendMessage(`QQ群${qGroup.group_id} (<code>${qGroup.group_id}</code>)已与 ` +
await tgChat.sendMessage(`QQ群${qGroup.name} (<code>${qGroup.group_id}</code>)已与 ` +
`Telegram 群 ${(tgChat.entity as Api.Channel).title} (<code>${tgChatId}</code>)关联`);
}
catch (e) {