opravžení
This commit is contained in:
2
.env
2
.env
@@ -1 +1 @@
|
|||||||
API_KEY = 8438017196:AAFNokgHwhn4G-0HuCxc7ZVwf7SJP1ETXpc
|
API_KEY=8438017196:AAFNokgHwhn4G-0HuCxc7ZVwf7SJP1ETXpc
|
||||||
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
.env
|
||||||
7
main.py
7
main.py
@@ -1,10 +1,15 @@
|
|||||||
import os
|
import os
|
||||||
import telebot
|
import telebot
|
||||||
import random
|
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)
|
bot = telebot.TeleBot(API_KEY)
|
||||||
|
|
||||||
|
print(API_KEY) # testžím
|
||||||
|
|
||||||
CHANCE = 1.0
|
CHANCE = 1.0
|
||||||
|
|
||||||
PHRASES_ALL = [
|
PHRASES_ALL = [
|
||||||
|
|||||||
Reference in New Issue
Block a user