Class: BotBrain::Brain
- Inherits:
-
Object
- Object
- BotBrain::Brain
- Defined in:
- lib/bot_brain.rb
Instance Method Summary collapse
- #answer(raw_message) ⇒ Object
-
#initialize(token, dictionary) ⇒ Brain
constructor
A new instance of Brain.
Constructor Details
#initialize(token, dictionary) ⇒ Brain
Returns a new instance of Brain.
12 13 14 15 16 |
# File 'lib/bot_brain.rb', line 12 def initialize(token, dictionary) @token = token @dictionary = dictionary @chats = {} end |