This commit is contained in:
nin0dev 2024-07-19 10:31:30 -04:00
parent 99bb9028bf
commit 5128f2904e
2 changed files with 17 additions and 0 deletions

3
.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
.env
.venv
*.session

14
main.py Normal file
View file

@ -0,0 +1,14 @@
from pyrogram import Client
from dotenv import load_dotenv
import os
load_dotenv()
app = Client(
"venbot",
api_id=os.getenv("API_ID"), api_hash=os.getenv("API_HASH"),
bot_token=os.getenv("BOT_TOKEN")
)
app.run()