更新协议到go-cqhttp

main
落雨楓 2 years ago
parent df84d88adf
commit 961b9bc86c

@ -6,6 +6,6 @@ source:
type: autoReview type: autoReview
tpl: tpl:
default: |- default: |-
{{data.author}} 更新了新页面: {{data.title}} {{{author}}} 更新了新页面: {{{title}}}
{{data.summary}} {{{summary}}}
{{data.result}} {{{result}}}

@ -7,5 +7,5 @@ source:
tpl: tpl:
default: |- default: |-
Review队列更新 Review队列更新
{{data.author}} 更新了页面: {{data.title}} {{{author}}} 更新了页面: {{{title}}}
{{data.summary}} {{{summary}}}

@ -6,6 +6,6 @@ source:
type: edit type: edit
tpl: tpl:
default: |- default: |-
{{data.author}} 更新了页面: {{data.title}} {{{author}}} 更新了页面: {{{title}}}
{{data.summary}} {{{summary}}}
{{data.url}} {{{url}}}

@ -6,6 +6,6 @@ source:
type: new type: new
tpl: tpl:
default: |- default: |-
{{data.author}} 创建了新页面: {{data.title}} {{{author}}} 创建了新页面: {{{title}}}
{{data.summary}} {{{summary}}}
{{data.url}} {{{url}}}

@ -45,9 +45,8 @@ export default class QQRobot implements Robot {
} }
return await this.doApiRequest('send_private_msg', { return await this.doApiRequest('send_private_msg', {
bot_id: this.botQQ,
user_id: user, user_id: user,
message: message, message: message
}); });
} }
@ -64,9 +63,8 @@ export default class QQRobot implements Robot {
} }
return await this.doApiRequest('send_group_msg', { return await this.doApiRequest('send_group_msg', {
bot_id: this.botQQ,
group_id: group, group_id: group,
message: message, message: message
}); });
} }

Loading…
Cancel
Save