protected override async Task PerformInternal(UserViewModel user, IEnumerable <string> arguments) { ActionGroupCommand command = ChannelSession.Settings.ActionGroupCommands.FirstOrDefault(c => c.Name.Equals(this.ActionGroupName)); if (command != null) { await command.Perform(user, arguments, this.GetExtraSpecialIdentifiers()); } }
protected override async Task PerformInternal(UserViewModel user, IEnumerable <string> arguments) { ActionGroupCommand command = this.GetCommand(); if (command != null) { this.ActionGroupID = command.ID; await command.Perform(user, arguments, this.GetExtraSpecialIdentifiers()); } }