This commit is contained in:
Florian Kellermann 2022-05-02 17:46:04 +02:00
parent a4a3169a74
commit 8d1011091a
3 changed files with 9 additions and 1 deletions

4
.env Normal file
View File

@ -0,0 +1,4 @@
# Bot API
BOT_API_KEY = "5358581079:AAGII3uv5K3rL4kUAntIcFG6oVxAx20NPI8"
# 5243240687:AAFidrj-8C9ly1xkZAfrWfBPjwSS67FNA5o -> Bot
# 5358581079:AAGII3uv5K3rL4kUAntIcFG6oVxAx20NPI8 -> debug bot

4
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,4 @@
{
"python.linting.pylintEnabled": true,
"python.linting.enabled": true
}

View File

@ -21,7 +21,7 @@ from db import User, session
load_dotenv(dotenv_path='.env') # load environment variables load_dotenv(dotenv_path='.env') # load environment variables
bot_version = "0.0.1" # version of bot BOT_VERSION = "0.0.1" # version of bot
bot = telebot.TeleBot(os.getenv('BOT_API_KEY')) bot = telebot.TeleBot(os.getenv('BOT_API_KEY'))