forked from lxh/go-wxhelper
Merge pull request '🎨 逻辑优化' (#70) from hotfix into main
Reviewed-on: lxh/go-wxhelper#70
This commit is contained in:
commit
205e34f67e
@ -11,6 +11,9 @@ import (
|
|||||||
// @description: 通知邀请入群消息到配置用户
|
// @description: 通知邀请入群消息到配置用户
|
||||||
// @param m
|
// @param m
|
||||||
func NotifyInvitationJoinGroup(m *plugin.MessageContext) {
|
func NotifyInvitationJoinGroup(m *plugin.MessageContext) {
|
||||||
|
// 先回复一条固定句子
|
||||||
|
utils.SendMessage(m.FromUser, m.GroupUser, "您的邀请消息已收到啦,正在通知我的主人来同意请求。在我加群之后将会进行初始化操作,直到收到我主动发送的消息就是初始化完成咯,在那之前请耐心等待喔~", 0)
|
||||||
|
|
||||||
// 如果是邀请进群,推送到配置的用户
|
// 如果是邀请进群,推送到配置的用户
|
||||||
if flag, dec := m.IsInvitationJoinGroup(); flag {
|
if flag, dec := m.IsInvitationJoinGroup(); flag {
|
||||||
for _, user := range config.Conf.System.NewFriendNotify.ToUser {
|
for _, user := range config.Conf.System.NewFriendNotify.ToUser {
|
||||||
|
Loading…
Reference in New Issue
Block a user