This commit is contained in:
dj
2023-11-08 12:05:49 +03:00
parent 7aa19f4db5
commit 51620790f6
+6 -1
View File
@@ -43,7 +43,12 @@ async def send_admins(bot: Bot, text: str, markup=None, not_me=0):
for admin in get_admins(): for admin in get_admins():
try: try:
if str(admin) != str(not_me): if str(admin) != str(not_me):
await bot.send_message(admin, text, reply_markup=markup, disable_web_page_preview=True) await bot.send_message(
admin,
text,
reply_markup=markup,
disable_web_page_preview=True,
)
except: except:
... ...