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

13 lines
455 B
C#
Raw Normal View History

2022-08-30 15:05:29 +00:00
using SharpChat.Channels;
using SharpChat.Users;
namespace SharpChat.Protocol.SockChat.Packets {
public class ChannelDeleteResponsePacket : BotResponsePacket {
public ChannelDeleteResponsePacket(IUser sender, string channelName)
: base(sender, BotArguments.CHANNEL_DELETED, false, channelName) { }
public ChannelDeleteResponsePacket(IUser sender, IChannel channel)
: this(sender, channel.Name) { }
}
}