This repository has been archived by the owner on Jun 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
4.一套完整的流程╮( ̄▽ ̄)╭
DavidMeow edited this page Dec 17, 2020
·
7 revisions
例:
r._FriendTextMsgRecieve += (s, e) =>{ };
例:
if(e.Content.StartsWith("复读")){ }
例:
await new MsgV2_TxtMsg(s.IOBody.MsgFromQQ, MessageSendToType.Friend, e.Content[2..]).Send();
你的收信端._FriendTextMsgRecieve += async (s, e) => { if (e.Content.StartsWith("复读")) { await new MsgV2_TxtMsg( s.IOBody.MsgFromQQ, MessageSendToType.Friend, e.Content[2..] ).Send(); } };
_ = e.Content.StartsWith("复读") ? await new MsgV2_TxtMsg( s.IOBody.MsgFromQQ, MessageSendToType.Friend, e.Content[2..] ).Send() : null ;
1.使用QQ实验(ノ゚▽゚)ノ
结果:
至此,一个小项目已经开发完成了~(ノ´▽`)ノ♪
@Copyright 2020 Electronicute *
萌喵电子(青岛)有限公司
萌喵电子信息技术组 [总组]