sharp-chat/SharpChat.Protocol.IRC/Replies/ListUserOperatorsReply.cs

19 lines
473 B
C#
Raw Normal View History

2022-08-30 15:05:29 +00:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SharpChat.Protocol.IRC.Replies {
public class ListUserOperatorsReply : Reply {
public const int CODE = 252;
public override int ReplyCode => CODE;
protected override string BuildLine() {
// todo: count users with a high rank or something
return @"1 :operator(s) online";
}
}
}