Skip to content

Commit

Permalink
feat: python-dotenv
Browse files Browse the repository at this point in the history
  • Loading branch information
X-Gorn committed Jun 9, 2024
1 parent 4f17271 commit e078b8c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
# venv
.venv
.venv

# env
.env
4 changes: 4 additions & 0 deletions Bot/config.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
import os
from pyrogram.types import BotCommand
from dotenv import load_dotenv


load_dotenv()


class Config(object):
Expand Down

0 comments on commit e078b8c

Please sign in to comment.