private void HandleCommand(string cmdText, string args, ChatMessage chatMessage) { ChatCommand command = FindCommand(cmdText); if (command != null) { command.Execute(hub, chatMessage, cmdText, args); return; } }
private void HandleCommand(string cmdText, string args, ChatMessage chatMessage) { ChatCommand command = FindCommand(cmdText); if (command != null) { // TODO: Add shows watched - allViewers.GetUserLevel(chatMessage) command.Execute(hub, chatMessage, cmdText, args, 0); return; } }
private void HandleCommand(string cmdText, string args, ChatMessage chatMessage) { ChatCommand command = FindCommand(cmdText); if (command == null) { return; } if (command.Command == "reload") { chatCommands = GoogleSheets.Get <ChatCommand>(); return; } // TODO: Add shows watched - allViewers.GetUserLevel(chatMessage) command.Execute(hub, chatMessage, cmdText, args, 0); return; }