mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-09-29 08:39:59 +08:00
Update group_welcome_msg.py
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user