diff options
author | Kyomotoi <[email protected]> | 2022-10-13 21:49:20 +0800 |
---|---|---|
committer | Kyomotoi <[email protected]> | 2022-10-13 21:49:20 +0800 |
commit | 6098b1b82942ef7ac89bbe8d393ba12bfea684df (patch) | |
tree | 2ab9f04a7268d867119a37e4e220eb49cc05d9ff /ATRI/plugins/broadcast.py | |
parent | 7bef2293b2bc03984bbcd664be20867f4a268f00 (diff) | |
download | ATRI-6098b1b82942ef7ac89bbe8d393ba12bfea684df.tar.gz ATRI-6098b1b82942ef7ac89bbe8d393ba12bfea684df.tar.bz2 ATRI-6098b1b82942ef7ac89bbe8d393ba12bfea684df.zip |
🎨 优化长消息构造, 优化部分代码
Diffstat (limited to 'ATRI/plugins/broadcast.py')
-rw-r--r-- | ATRI/plugins/broadcast.py | 2 |
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( |