File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
plugins/hd/JoinGroupInvite Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,10 @@ features:
46
46
details : 监听收到[系统表情1+系统表情2]时自动合成新表情并发送
47
47
link : https://github.com/HdShare/WAuxiliary_Plugin/tree/main/plugins/hd/EmojiMix
48
48
49
+ - title : 进群邀请@hd
50
+ details : 监听私聊收到[进群]时自动发送群聊邀请(需修改群聊wxid)
51
+ link : https://github.com/HdShare/WAuxiliary_Plugin/tree/main/plugins/hd/JoinGroupInvite
52
+
49
53
- title : 文生图@CkBcDD
50
54
details : 命令[/作图 Corn Hub], 长按发送按钮生成并发送图片
51
55
link : https://github.com/HdShare/WAuxiliary_Plugin/tree/main/plugins/CkBcDD/TXT-to-IMG
Original file line number Diff line number Diff line change
1
+
2
+ void onHandleMsg (Object msgInfoBean ) {
3
+ if (msgInfoBean .isGroupChat ()) return ;
4
+ if (msgInfoBean .isSend ()) return ;
5
+ if (msgInfoBean .isText ()) {
6
+ String content = msgInfoBean .getContent ();
7
+ String talker = msgInfoBean .getTalker ();
8
+ if (content .equals ("进群" )) {
9
+ inviteChatroomMember ("demo@chatroom" , talker );
10
+ }
11
+ }
12
+ }
You can’t perform that action at this time.
0 commit comments