import os from pyrogram import Client, filters from pyrogram.types import Message plugins = dict(root = "plugins") API_ID = int(os.environ.get("API_ID", 28074643)) API_HASH = os.environ.get("API_HASH", "2f3d441733660d0e3a65717818c28ea5") BOT_TOKEN = os.environ.get("BOT_TOKEN", "6643515654:AAG5k_S4lO0B3kngNI3we5YP5LwB8rfx8Hw") app = Client(name = "sb", api_id = API_ID, plugins = plugins, api_hash = API_HASH, bot_token = BOT_TOKEN) @Client.on_message(filters.command("start")) def send_message(client : Client, message : Message): message.reply_text("Hellow") app.run()