sharp-chat/SharpChat.Protocol.IRC/Replies/MyInfoReply.cs
2022-08-30 17:05:29 +02:00

20 lines
525 B
C#

using System;
namespace SharpChat.Protocol.IRC.Replies {
public class MyInfoReply : Reply {
public const int CODE = 4;
public override int ReplyCode => CODE;
private IRCServer Server { get; }
public MyInfoReply(IRCServer server) {
Server = server ?? throw new ArgumentNullException(nameof(server));
}
protected override string BuildLine() {
return $@":{Server.ServerHost} {SharpInfo.ProgramName} ABCaiowxz PTahklmnoqstvz";
}
}
}