summaryrefslogtreecommitdiff
path: root/ATRI/plugins/broadcast.py
diff options
context:
space:
mode:
authorKyomotoi <[email protected]>2022-10-13 21:49:20 +0800
committerKyomotoi <[email protected]>2022-10-13 21:49:20 +0800
commit6098b1b82942ef7ac89bbe8d393ba12bfea684df (patch)
tree2ab9f04a7268d867119a37e4e220eb49cc05d9ff /ATRI/plugins/broadcast.py
parent7bef2293b2bc03984bbcd664be20867f4a268f00 (diff)
downloadATRI-6098b1b82942ef7ac89bbe8d393ba12bfea684df.tar.gz
ATRI-6098b1b82942ef7ac89bbe8d393ba12bfea684df.tar.bz2
ATRI-6098b1b82942ef7ac89bbe8d393ba12bfea684df.zip
🎨 优化长消息构造, 优化部分代码
Diffstat (limited to 'ATRI/plugins/broadcast.py')
-rw-r--r--ATRI/plugins/broadcast.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ATRI/plugins/broadcast.py b/ATRI/plugins/broadcast.py
index 10bfa03..83f1d23 100644
--- a/ATRI/plugins/broadcast.py
+++ b/ATRI/plugins/broadcast.py
@@ -92,7 +92,7 @@ async def _(bot: Bot, event: MessageEvent, s_msg: str = ArgPlainText("bc_msg")):
fl_g=fl_g,
f_g=", ".join(map(str, fl_g)),
)
- await caster.finish(repo_msg)
+ await caster.finish(Message(repo_msg))
rej_broadcast = BroadCast().on_command(