Convertirse en un robot de proveedor de servicios con el Bot Libre en la Nube Bot Plataforma
Bugs and Features

org.botlibre.self.SelfExecutionException: Missing function: define

por igolubev publicado Mar 27 2016, 15:49

After saying "initTokens " to my bot id=11736722 I get an error "Missing function" with this code:


Language.define("плохо", #bad);

 

What is wrong? How can I asiign a meaning for the word?

Thank you in advance!


by admin posted Mar 27 2016, 17:29
The define() function seem to be missing.
I will add it, but for now you can just set the word's meaning, and the meanings word. That is all define() does.

"плохо".meaning = #bad; #bad.word = "плохо";


Thumbs up: 0, thumbs down: 0, stars: 0.0
Views: 2182, today: 2, week: 11, month: 21

Id: 12440439
Etiquetas: self
Publicado: Mar 27 2016, 15:49
Respuestas: 1
Vistas: 2189, hoy: 3, la semana: 14, mes: 27
0 0 0.0/5