group-butler / GroupButler

This bot can help you in managing your group with rules, anti-flood, description, custom triggers, and much more!
https://t.me/GroupButler_bot
GNU General Public License v2.0
442 stars 295 forks source link

Feature request: Delete posts of bots and Ban bot inviters #429

Closed hossaink closed 5 years ago

hossaink commented 5 years ago
  1. The GroupButler has this great feature that kicks any bot; the problem is in the milliseconds-gap between adding the spammer bot and GroupButler kicking it; the spammer sometimes sends some posts that require manual deletion.
  2. Moreover, if it was possible to ban the users who add bots to the group immediately; it would be great.
NotAFile commented 5 years ago

bots can not see other bots messages

hossaink commented 5 years ago

Thanks for the comment... Interesting limitation by Telegram! How about the second feature, kicking the one who adds a bot, is it feasible?

NotAFile commented 5 years ago

I recall this already being a feature, but I have not checked.

modaresimr commented 5 years ago

I didn't find this feature. it is also good if you remove or mute the parent hierarchy of the robot

modaresimr commented 5 years ago

I have a suggestion for finding the id of messages from other robots. each message in super groups have an incremental id so if you find a message which the last id is different it means that the message is for the robot and you can remove it.

modaresimr commented 5 years ago

I checked this method and it is not possible to remove other robot's message

yangm97 commented 5 years ago

Dupe of #385