sharp-chat/SharpChat.Protocol.SockChat/Packets/UserNotFoundPacket.cs

11 lines
350 B
C#
Raw Normal View History

2022-08-30 15:05:29 +00:00
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) { }
}
}