Update group_welcome_msg.py

This commit is contained in:
HibiKier 2021-05-20 20:47:34 +08:00 committed by GitHub
parent 1944599ed6
commit a85290e7b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)