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

12 lines
455 B
C#

using SharpChat.Channels;
using SharpChat.Users;
namespace SharpChat.Protocol.SockChat.Packets {
public class ChannelCreateResponsePacket : BotResponsePacket {
public ChannelCreateResponsePacket(IUser sender, string channelName)
: base(sender, BotArguments.CHANNEL_CREATED, false, channelName) { }
public ChannelCreateResponsePacket(IUser sender, IChannel channel)
: this(sender, channel.Name) { }
}
}