コード例 #1
0
 public override void Handle(BanGroupMemberApiMahuaCommand message)
 {
     AmandaApi.Api_Ban(message.ToGroup, message.ToQq, (int)message.Duration.TotalSeconds);
 }
コード例 #2
0
 public override void Handle(RemoveBanGroupMemberApiMahuaCommand message)
 {
     AmandaApi.Api_Ban(message.ToGroup, message.ToQq, 0);
 }