mirror of
https://github.com/TeamPGM/PagerMaid_Plugins.git
synced 2024-11-24 23:17:56 +00:00
Aff插件增加链接预览功能 (#59)
Co-authored-by: TNTcraftHIM <TNTcraftHIM@users.noreply.github.com>
This commit is contained in:
parent
529fc0371d
commit
1645d4094e
2
aff.py
2
aff.py
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user