luke5sky / discontinued-telegram-skill Goto Github PK
View Code? Open in Web Editor NEWTelegram Skill for MyCroft
License: Apache License 2.0
Telegram Skill for MyCroft
License: Apache License 2.0
When the Telegram bot is added to a group and the group ID is specified in the Mycroft Telegram skills configuration, it's possible for users to send Mycroft commands by typing "/botname what is the time" in the Telegram group. The issue is that Mycroft interprets the "/botname" as part of the question which confuses it.
00:39:47.217 | INFO | 778 | telegram_luke5sky | Telegram-Message from User: /TestingzMycroftBot what is a turtle
00:39:47.395 | INFO | 778 | QuestionsAnswersSkill | Searching for /testingzmycroftbot what is a turtle?
00:39:47.406 | INFO | 778 | WolframAlphaSkill | WolframAlpha query: /testingzmycroftbot what is a turtle?
00:39:48.940 | INFO | 778 | fallback-wolfram-alpha_mycroftai.skill.wolfram_client:get_spoken_answer:278 | No answer available from Wolfram Alpha.
00:39:49.102 | INFO | 778 | QuestionsAnswersSkill | Timeout occured check responses
00:39:49.651 | INFO | 778 | telegram_luke5sky | Sending to Telegram-User: I don't know what that means.
Is it possible for the Telegram skill to strip out the /botname part from the text before sending it to Mycroft?
Hello,
the telegram skill is not showing on my profile page. I tried adding the variables in settings.json but it did not work. What could I be doing wrong?
Thank you.
Using skill that returns multiple responses (For example, weather skill) only passes first one to the telegram bot. Others will go to the standard output only.
The bot was properly installed and configured. In the logs the following error shows up:
2020-10-09 08:56:11.406 | ERROR | 25 | telegram.ext.dispatcher | No error handlers are registered, logging exception. Traceback (most recent call last): File "/opt/mycroft/.venv/lib/python3.6/site-packages/telegram/ext/dispatcher.py", line 425, in process_update handler.handle_update(update, self, check, context) File "/opt/mycroft/.venv/lib/python3.6/site-packages/telegram/ext/handler.py", line 145, in handle_update return self.callback(update, context) File "/opt/mycroft/skills/telegram.luke5sky/__init__.py", line 109, in TelegramMessages msg = update.message.text AttributeError: 'CallbackContext' object has no attribute 'message'
Hi,
Device: Linux (Ubuntu)
Version: 20.2.4
I've installed your skill and follow the instructions. My mycroft unit says that Telegram skill is working and I've configured it in mycroft.ai.skills and reboot my device but when I text my bot, it doesn't respond anything...
I've tried getting the chatID via API using https://api.telegram.org/bot/getUpdates?offset=0 but still not working.
Could you help me?
Thanks!
Hi! Great Mycroft skill.
Had the description for instance been
"Skill to chat with your Mycroft instance through a TelegramBot"
or
"Skill to control your Mycroft instance through a TelegramBot"
I had understood its purpose from the beginning.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.