From a85290e7b0c55a34645c80f2b0407760a4779bfc Mon Sep 17 00:00:00 2001 From: HibiKier <45528451+HibiKier@users.noreply.github.com> Date: Thu, 20 May 2021 20:47:34 +0800 Subject: [PATCH] Update group_welcome_msg.py --- plugins/group_welcome_msg.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/group_welcome_msg.py b/plugins/group_welcome_msg.py index 27be21a0..6f7e535e 100644 --- a/plugins/group_welcome_msg.py +++ b/plugins/group_welcome_msg.py @@ -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)