Exemplo n.º 1
0
 public RockPaperScissorsCommand(IRepository repository, RockPaperScissorsGame rockPaperScissorsGame)
     : base(repository, UserRole.Everyone)
 {
     _rockPaperScissorsGame = rockPaperScissorsGame;
     HelpText =
         "Use \"!rps\" to join randomly. Use \"!rps rock\" to select rock. Bot will eventually choose randomly and award the winners.";
 }
 public RockPaperScissorsCommand(RockPaperScissorsGame rockPaperScissorsGame)
 {
     _rockPaperScissorsGame = rockPaperScissorsGame;
     CommandText            = "rps";
     RoleRequired           = UserRole.Everyone;
     HelpText = "Use \"!rps\" to join randomly. Use \"!rps rock\" to select rock. Bot will eventually choose randomly and award the winners.";
 }
 public RockPaperScissorsCommand(IRepository repository, RockPaperScissorsGame rockPaperScissorsGame)
     : base(repository)
 {
     _rockPaperScissorsGame = rockPaperScissorsGame;
 }