Exemplo n.º 1
0
        public void Start()
        {
            this.Term = HangmanTermPool.GetTerm(TermType);

            if (this.Term == null)
            {
                throw new KeyNotFoundException("Can't find a term with that type. Use hangmanlist command.");
            }
            // start listening for answers when game starts
            NadekoBot.Client.MessageReceived += PotentialGuess;
        }
Exemplo n.º 2
0
 public void Start()
 {
     this.Term = HangmanTermPool.GetTerm(TermType);
     // start listening for answers when game starts
     NadekoBot.Client.MessageReceived += PotentialGuess;
 }