Aff插件增加链接预览功能

This commit is contained in:
TNTcraftHIM 2020-09-09 19:17:14 +08:00
parent 8f4625ca29
commit 959f508805
2 changed files with 2 additions and 2 deletions

2
aff.py
View File

@ -18,7 +18,7 @@ async def aff(context):
await context.edit("出错了呜呜呜 ~ Aff消息不存在。\n(你有提前保存好嘛?)")
return
try:
await context.edit(msg)
await context.edit(msg, link_preview=True)
except:
await context.edit("出错了呜呜呜 ~ 信息无变化。")
sleep(3)

View File

@ -312,7 +312,7 @@
},
{
"name": "aff",
"version": "1.0",
"version": "1.1",
"section": "chat",
"maintainer": "TNTcraftHIM",
"size": "2.0 kb",