mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-15 14:22:55 +08:00
Update group_welcome_msg.py
This commit is contained in:
parent
1944599ed6
commit
a85290e7b0
@ -29,6 +29,8 @@ async def _(bot: Bot, event: GroupMessageEvent, state: T_State):
|
||||
msg = msg.replace('[at]', '')
|
||||
if img or msg:
|
||||
await view_custom_welcome.finish(msg + img, at_sender=True)
|
||||
else:
|
||||
await view_custom_welcome.finish('当前还没有自定义群欢迎消息哦', at_sender=True)
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user