init
This commit is contained in:
parent
99bb9028bf
commit
5128f2904e
2 changed files with 17 additions and 0 deletions
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
.env
|
||||
.venv
|
||||
*.session
|
14
main.py
Normal file
14
main.py
Normal 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()
|
Loading…
Reference in a new issue