Hardly.Library.Twitch.SqlTwitchCommand.SqlTwitchCommand C# (CSharp) Method

SqlTwitchCommand() public method

public SqlTwitchCommand ( uint id, TwitchConnection twitchConnection = null, string command = null, string description = null, bool isModOnly = true, TimeSpan coolDown = default(TimeSpan), string response = null )
id uint
twitchConnection TwitchConnection
command string
description string
isModOnly bool
coolDown TimeSpan
response string
        public SqlTwitchCommand(
            uint id,
            TwitchConnection twitchConnection = null,
            string command = null,
            string description = null,
            bool isModOnly = true,
            TimeSpan coolDown = default(TimeSpan),
            string response = null)
            : base(new object[] {
                    id,
                    twitchConnection.channel.user.id,
                    twitchConnection.bot.user.id,
                    command,
                    description, 
                    isModOnly,
                    coolDown.TotalSeconds,
                    response
                })
        {
            this.connection = twitchConnection;
        }