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

13 lines
478 B
C#
Raw Permalink Normal View History

2022-08-30 15:05:29 +00:00
using SharpChat.Protocol.SockChat.Users;
using SharpChat.Users;
namespace SharpChat.Protocol.SockChat.Packets {
public class SilenceRevokeResponsePacket : BotResponsePacket {
public SilenceRevokeResponsePacket(IUser sender, string userName)
: base(sender, BotArguments.SILENCE_REVOKE_CONFIRM, false, userName) { }
public SilenceRevokeResponsePacket(IUser sender, IUser target)
: this(sender, target.GetDisplayName()) { }
}
}