Example #1
0
        public BotAdminViewModel(KhadgarBotViewModel khadgarBotViewModel)
        {
            _khadgarBotViewModel = khadgarBotViewModel;
            _khadgarBotModel     = _khadgarBotViewModel.Model;

            BotName                  = _khadgarBotModel.BotName;
            OAuth                    = _khadgarBotModel.OAuth;
            ChannelName              = _khadgarBotModel.ChannelName;
            HasConnected             = false;
            HasConnectedButNotJoined = false;
            HasJoined                = false;

            ConnectToTwitch = new DelegateCommand(ExecuteConnectToTwitch);
            JoinChannel     = new DelegateCommand(ExecuteJoinChannel);
            LeaveChannel    = new DelegateCommand(ExecuteLeaveChannel);
        }
Example #2
0
 public CommandLogViewModel(KhadgarBotViewModel khadgarBotViewModel)
 {
 }