gold_readbag and russian

This commit is contained in:
hibiki
2021-06-15 10:57:08 +08:00
parent 95209093de
commit ea620fdae9
125 changed files with 2106 additions and 1244 deletions
+4 -3
View File
@@ -6,7 +6,10 @@ from util.init_result import share
from services.log import logger
__plugin_usage__ = '用法:\n格式:网址 标题 内容(可省略) 图片(可省略)\n示例:假消息 www.4399.com 我喜欢萝莉 为什么我喜欢... (图片)'
__plugin_name = '假消息'
__plugin_usage__ = '用法:\n格式:假消息 [网址] [标题] [内容](可省) [图片](可省)\n' \
'示例:假消息 www.4399.com 我喜欢萝莉 为什么我喜欢... [图片]'
fake_msg = on_command('假消息', priority=5, block=True)
@@ -16,8 +19,6 @@ fake_msg = on_command('假消息', priority=5, block=True)
async def _(bot: Bot, event: MessageEvent, state: T_State):
msg = get_message_text(event.json()).split(' ')
img = get_message_imgs(event.json())
if not msg or msg in ['帮助']:
await fake_msg.finish(__plugin_usage__)
if len(msg) > 1:
if len(msg) == 2:
url = msg[0]