જોડાવા બોટ કાવ્ય માતાનો જીવનસાથી અને સંલગ્ન કાર્યક્રમ અને આધાર આપે છે અમારા મફત ઓપન પ્લેટફોર્મ
Bugs and Features

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

દ્વારા igolubev પોસ્ટ 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: 1867, today: 1, week: 1, month: 2

ને: 12440439
ટૅગ્સ: self
પોસ્ટ: Mar 27 2016, 15:49
જવાબો: 1
જોવાઈ: 1866, આજે: 2, સપ્તાહ: 2, મહિને: 2
0 0 0.0/5