public override async Task Act() { Global.currentTask[GroupId] = null; await session.SendGroupMessageAsync(GroupId, new PlainMessage("正在向服务器发送移除请求,请注意,若禁言的对象是机器人本身或权" + "限高于等于机器人的对象,则不会生效")); await session.KickMemberAsync(ObjectId, GroupId); }
public static Task KickGroupMemberAsync(long groupID, long qqID) => session.KickMemberAsync(qqID, groupID);