Skip to content

Commit e3847dd

Browse files
committed
build
1 parent 79069cf commit e3847dd

File tree

2 files changed

+37
-4
lines changed

2 files changed

+37
-4
lines changed

.idea/workspace.xml

Lines changed: 31 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

main.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import keyboard
55
import telebot
66

7-
builted = False
7+
builted = True
88

99
# настройка :
1010
# bind f2 "exec scc"
@@ -14,8 +14,11 @@ class SourceConsoleControl :
1414
def __init__(self) :
1515
if builted:
1616
with open("tg") as f:
17-
self.bot = telebot.TeleBot(f.read())
18-
self.bot = telebot.TeleBot("ТГ_БОТ_КЛЮЧ")
17+
#print(f.readline())
18+
#exit()
19+
self.bot = telebot.TeleBot(f.readline())
20+
else:
21+
self.bot = telebot.TeleBot("ТГ_БОТ_КЛЮЧ")
1922
self.menu = False
2023
self.pressed_menu = False # зажатая клавиша (не менять)
2124
self.portal_path = "C:\\Program Files (x86)\\Steam\\steamapps\\common\\Portal 2\\portal2" # путь до игры

0 commit comments

Comments
 (0)