Archived
1
0
Fork 0
This commit is contained in:
多羅狼 2023-05-21 12:55:19 +08:00 committed by GitHub
parent d0a618a40b
commit 44b0d0f5ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -18,7 +18,7 @@ async def ab_qq(wiki_url):
"name": f"滥用过滤器日志地址",
"uin": qq_account,
"content": [
{"type": "text", "data": {"text": pageurl + ('\n tips复制粘贴下面的任一消息到聊天窗口发送可获取此次改动详细信息的截图。'
{"type": "text", "data": {"text": pageurl + ('\n' + {msg.locale.t('wiki.message.utils.qq.prompt')}
if wiki.wiki_info.in_allowlist else '')}}]
}
}]

View file

@ -22,7 +22,7 @@ async def rc_qq(msg: Bot.MessageSession, wiki_url):
nodelist = [{
"type": "node",
"data": {
"name": f"{msg.locale.t('wiki.message.rc.qq.title.address')}",
"name": f"滥用过滤器日志地址",
"uin": qq_account,
"content": [
{"type": "text", "data": {"text": pageurl.replace("$1", 'Special:RecentChanges') +
@ -94,7 +94,7 @@ async def rc_qq(msg: Bot.MessageSession, wiki_url):
{
"type": "node",
"data": {
"name": f"{msg.locale.t('wiki.message.rc.qq.title')}",
"name": f"滥用过滤器日志地址",
"uin": qq_account,
"content": [{"type": "text", "data": {"text": x}}],
}