sharp-chat/SharpChat.Protocol.SockChat/Packets/UserNotFoundPacket.cs
2022-08-30 17:05:29 +02:00

11 lines
350 B
C#

using SharpChat.Users;
namespace SharpChat.Protocol.SockChat.Packets {
public class UserNotFoundPacket : BotResponsePacket {
private const string FALLBACK = @"User";
public UserNotFoundPacket(IUser sender, string userName)
: base(sender, BotArguments.USER_NOT_FOUND_ERROR, true, userName ?? FALLBACK) { }
}
}