The following answer was a given by sugaroid, and is considered as a bug. Please
manually review this issue, and close it if it looks unnecessary.
user: can you smile?
sugaroid: An unhandled exception occurred: Traceback (most recent call last):
File "telegram_bot.py", line 162, in on_message
response = str(sg.parse(msg))
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/sugaroid.py", line 242, in parse
response = self.neuron.parse(args)
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/brain/brain.py", line 76, in parse
response = self.gen_best_match(preprocessed)
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/brain/brain.py", line 101, in gen_best_match
return self.bot.get_response(parsed)
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/core/bot.py", line 355, in get_response
response = self.generate_response(
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/core/bot.py", line 142, in generate_response
output = adapter.process(
File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/brain/canmay.py", line 254, in process
if self.chatbot.lp.words(verb)[0] == "do":
AttributeError: 'LanguageProcessor' object has no attribute 'words'
File "telegram_bot.py", line 162, in on_message response = str(sg.parse(msg)) File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/sugaroid.py", line 242, in parse response = self.neuron.parse(args) File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/brain/brain.py", line 76, in parse response = self.gen_best_match(preprocessed) File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/brain/brain.py", line 101, in gen_best_match return self.bot.get_response(parsed) File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/core/bot.py", line 355, in get_response response = self.generate_response( File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/core/bot.py", line 142, in generate_response output = adapter.process( File "/app/.heroku/python/lib/python3.8/site-packages/sugaroid/brain/canmay.py", line 254, in process if self.chatbot.lp.words(verb)[0] == "do": AttributeError: 'LanguageProcessor' object has no attribute 'words'