mirror of
https://github.com/baiqwerdvd/ArknightsUID.git
synced 2025-05-05 03:23:45 +08:00
111
This commit is contained in:
parent
5409ea3ccf
commit
0a9124bb25
@ -34,7 +34,7 @@ async def ann_(bot: Bot, ev: Event):
|
|||||||
img = await get_ann_img(data)
|
img = await get_ann_img(data)
|
||||||
title = data.title.replace("\\n", "")
|
title = data.title.replace("\\n", "")
|
||||||
msg = [
|
msg = [
|
||||||
MessageSegment.text(f"[明日方舟公告]\n{title}\n"),
|
MessageSegment.text(f"[明日方舟公告] {title}\n"),
|
||||||
MessageSegment.image(img),
|
MessageSegment.image(img),
|
||||||
]
|
]
|
||||||
await bot.send(msg)
|
await bot.send(msg)
|
||||||
@ -109,7 +109,7 @@ async def check_ark_ann_state():
|
|||||||
img = await get_ann_img(data)
|
img = await get_ann_img(data)
|
||||||
title = data.title.replace("\\n", "")
|
title = data.title.replace("\\n", "")
|
||||||
msg = [
|
msg = [
|
||||||
MessageSegment.text(f"[明日方舟公告]\n{title}\n"),
|
MessageSegment.text(f"[明日方舟公告] {title}\n"),
|
||||||
MessageSegment.image(img),
|
MessageSegment.image(img),
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user