-
Notifications
You must be signed in to change notification settings - Fork 7
Enable /commands
in private messages
#41
Comments
Hei @pavlovcik , Thanks, please assign this issue to me. |
Do you guys think its straightforward to route commands from Telegram to our plugins and then return their output in Telegram? I'm assuming yes but I would like to hear input from who worked on the kernel and plugins. |
No I don't think it's super straight forward, some plugins we'll have much easier success with such as
I had a small think on this but there are a lot of assumptions I've made that I'd need to test out |
We don't need to roll out 100% support, but yes the idea was to eventually use it for commands like |
/help |
Available Commands
|
|
The purpose of direct messaging the bot is to minimize unnecessary notifications for everyone so that approach is unacceptable. |
The first problem is that kernel wouldn't know which plugin to call for a specific command because it doesn't have a config, unless we hardcode certain commands which is fine because at Telegram will have its own entry point in the kernel and won't interfere with other code. If the plugin that handles the command doesn't rely on Github it would work but most plugins do, for example
|
We had an early prototype that would allow you to pair your GitHub account with your Telegram account using oauth authentication. |
@0x4007 Is this a goal for V2, implementing our GitHub slash commands into private chat commands? We should archive this repo |
Instead of us having to use https://github.com/ubiquibot/production/issues for generic bot commands (like right now I was about to use
/query
let us use the commands in Telegram directly in a DM.The text was updated successfully, but these errors were encountered: