This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import asyncio | |
import shlex | |
from aiogram import Bot | |
from json import loads, dumps | |
# Suppress DeprecationWarning from close() method | |
import logging | |
logging.captureWarnings(True) | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import logging | |
from aiogram import Bot, Dispatcher, executor, types | |
from aiogram.dispatcher.filters import Filter | |
logging.basicConfig(level=logging.INFO) | |
bot = Bot(token="") | |
dp = Dispatcher(bot) | |
admins = set() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
WARNING!!!! | |
This code doesn't work anymore and cannot be fixed at all. | |
See https://github.com/LonamiWebs/Telethon/issues/1723 for more info | |
""" | |
import re | |
import struct | |
import base64 | |
import binascii |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Title</title> | |
</script> | |
</head> | |
<body> | |
<div id="app"> | |
</div> | |
</body> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import asyncio | |
import logging | |
from aiogram import Bot, Dispatcher | |
from aiogram.types import BotCommand | |
from bot.config_reader import load_config | |
from bot.middlewares.config import ConfigMiddleware | |
from bot.handlers.main_group_events import register_group_events | |
from bot.handlers.callbacks_reports import register_callbacks_reports |
OlderNewer