private async void PubSub_OnChannelPointsRedeemed(object sender, PubSubChannelPointsRedemptionEventModel packet)
        {
            PubSubChannelPointsRedeemedEventModel redemption = packet.redemption;

            UserViewModel user = ChannelSession.Services.User.GetUserByTwitchID(redemption.user.id);

            if (user == null)
            {
                user = new UserViewModel(redemption.user);
            }

            List <string> arguments = null;
            Dictionary <string, string> specialIdentifiers = new Dictionary <string, string>();

            specialIdentifiers["rewardname"] = redemption.reward.title;
            specialIdentifiers["rewardcost"] = redemption.reward.cost.ToString();
            if (!string.IsNullOrEmpty(redemption.user_input))
            {
                specialIdentifiers["message"] = redemption.user_input;
                arguments = new List <string>(redemption.user_input.Split(new char[] { ' ' }, StringSplitOptions.RemoveEmptyEntries));
            }

            EventTrigger trigger = new EventTrigger(EventTypeEnum.TwitchChannelPointsRedeemed, user, specialIdentifiers);

            trigger.Arguments = arguments;
            await ChannelSession.Services.Events.PerformEvent(trigger);

            TwitchChannelPointsCommand command = ChannelSession.Settings.TwitchChannelPointsCommands.FirstOrDefault(c => string.Equals(c.Name, redemption.reward.title, StringComparison.CurrentCultureIgnoreCase));

            if (command != null)
            {
                await command.Perform(user, arguments : arguments, extraSpecialIdentifiers : specialIdentifiers);
            }

            await ChannelSession.Services.Alerts.AddAlert(new AlertChatMessageViewModel(StreamingPlatformTypeEnum.Twitch, user, string.Format("{0} Redeemed {1}", user.Username, redemption.reward.title), ChannelSession.Settings.AlertChannelPointsColor));
        }