From 5128f2904ea8177ecc34a422652ccbc0ae0214c6 Mon Sep 17 00:00:00 2001 From: nin0dev Date: Fri, 19 Jul 2024 10:31:30 -0400 Subject: [PATCH] init --- .gitignore | 3 +++ main.py | 14 ++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 .gitignore create mode 100644 main.py diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1d9351d --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +.env +.venv +*.session \ No newline at end of file diff --git a/main.py b/main.py new file mode 100644 index 0000000..eb60408 --- /dev/null +++ b/main.py @@ -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() \ No newline at end of file