Compare commits

...

2 Commits

Author SHA1 Message Date
382fd13fcb Merge branch 'main' of https://git.czchan.org/cordman/-lincbot 2026-03-14 21:07:56 +01:00
581d3c90bb opravžení 2026-03-14 21:05:53 +01:00
3 changed files with 8 additions and 1 deletions

1
.env Normal file
View File

@@ -0,0 +1 @@
API_KEY=8438017196:AAFNokgHwhn4G-0HuCxc7ZVwf7SJP1ETXpc

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.env

View File

@@ -1,10 +1,15 @@
import os
import telebot
import random
from dotenv import load_dotenv
API_KEY = "8438017196:AAFNokgHwhn4G-0HuCxc7ZVwf7SJP1ETXpc"
load_dotenv()
API_KEY = os.getenv("API_KEY")
bot = telebot.TeleBot(API_KEY)
print(API_KEY) # testžím
CHANCE = 1.0
PHRASES_ALL = [