botgram / shell-bot

:robot: Telegram bot that executes commands and sends the live output
GNU General Public License v3.0
787 stars 493 forks source link

multi-user support (or inline mode, so it can be used in groups) #21

Closed samthelion17 closed 4 years ago

samthelion17 commented 4 years ago

Hi, the thing is that i want to use the bot from my two telegram accounts. I would like to [either]

I suppose that the last one can only be done setting up inline mode.

Cheers!

samthelion17 commented 4 years ago

Oops... the bot commands "/grant" and/or "/token" answer my question. Though i'd still like to know about inline mode...

mildsunrise commented 4 years ago

what do you mean by inline mode?

mildsunrise commented 4 years ago

by the way, you can also configure a group as the owner

samthelion17 commented 4 years ago

what do you mean by inline mode?

Well, i realized that doesn't make sense to use inline mode in this kind of bot. although for the "cd" command it would be really useful, that way we don't need to know the exact path we want to "cd" to by memory. Learn more here: https://core.telegram.org/bots/inline

mildsunrise commented 4 years ago

oh, you mean to use inline mode to suggest autocompletions? I'll keep this on mind, and of course, patches are welcome :)