Ejemplo n.º 1
0
#pragma warning disable CS0612 // Type or member is obsolete
        internal ChatCommandModel(MixItUp.Base.Commands.ChatCommand command)
            : base(command)
        {
            this.Name               = command.Name;
            this.Type               = CommandTypeEnum.Chat;
            this.Triggers           = command.Commands;
            this.IncludeExclamation = command.IncludeExclamationInCommands;
            this.Wildcards          = command.Wildcards;
        }
Ejemplo n.º 2
0
#pragma warning disable CS0612 // Type or member is obsolete
        internal UserOnlyChatCommandModel(MixItUp.Base.Commands.ChatCommand command, Guid userID)
            : base(command)
        {
            this.UserID = userID;
        }