Skip to content

Instantly share code, notes, and snippets.

View imto1's full-sized avatar
💭
Live the moments

S. Vahid Hosseini imto1

💭
Live the moments
View GitHub Profile
@imto1
imto1 / stop-others-bot.py
Created December 25, 2021 05:36 — forked from gowhari/stop-others-bot.py
telegram bot that prevents adding bots to group by non admin members, only admins are able to add bots
import json
import time
import logging
import telepot
import telepot.loop
thisbot_token = 'YOUR-BOT-TOKEN'