bot = Bot(token=config.BOT_TOKEN, parse_mode=types.ParseMode.HTML)
dp = Dispatcher(bot, storage=MemoryStorage())
async def on_startup(dp):
filters.setup(dp)
middlewares.setup(dp)
await set_default_commands(dp)
if __name__ == "__main__":
create_bdx()
executor.start_polling(dp, on_startup=on_startup)