GroupButler
GroupButler copied to clipboard
[Feature Request] Config bot outside of group
Would it be possible to allow the bot to be configured outside of the actual group? I am an admin of a group with 1200 members and I don't want to spam members when I need to update configuration. I also dont want normal users to be able to call any admin related commands on the bot, i.e. /config. so I would like the ability to only call the config command from outside of the group. Calling the command from inside of the group will have no effect and will be removed from that chat.
@systemeintegratedsolutions You can already configure your group from outside with the /config command. You can also set it to not reply to /config etc. queries. I'm pretty sure listing a list of groups you are admin of would be very hard the way things currently are
There are some commands taht need to be executed inside a group, that is, those that require an input/don't have an inline keyboard.
I've always wanted to add something that lets you configure everything from the private chat with the bot. My idea was not to store a list of groups where the user is admin, but rather letting admins use /config
from a group chat to be able to configure everything in private, by storing a session value representing the target chat_id
, and let the admin use commands that requires an input in private. That's the idea. Wouldn't even be complex to implement, as this would just require to enable some group commands in private and to use as taget chat_id msg.chat.id < 0 and msg.chat.id or u.get_user_session(msg.user.id)
I'll keep this as a memo
@RememberTheAir I would add this feature after sql migration and solve with a single sql query /jussayng
Hi, just to clarify I did not mean that it should be possible to list all the groups I am admin of :)