This commit is contained in:
mega_krevetka committed 2026-04-16 15:59:19 +03:00
1 parent 1229337f87
commit 21f1c030e6
3 files changed
+20 -7

No files matched your search

+2
View File
@@ -1,6 +1,8 @@
<component name="ProjectDictionaryState">
<dictionary name="project">
<words>
<w>#персональный</w>
<w>botans</w>
<w>cjozd</w>
<w>otsntu</w>
</words>
+14 -5
View File
@@ -4,9 +4,9 @@
<option name="autoReloadType" value="SELECTIVE" />
</component>
<component name="ChangeListManager">
<list default="true" id="aaf4cea1-996f-4616-a7e8-5aebcf6aea3e" name="Changes" comment="">
<list default="true" id="aaf4cea1-996f-4616-a7e8-5aebcf6aea3e" name="Changes" comment="test.json">
<change beforePath="$PROJECT_DIR$/.idea/dictionaries/project.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/dictionaries/project.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/BotForTelegramm/Fox_hahBot.py" beforeDir="false" afterPath="$PROJECT_DIR$/BotForTelegramm/Fox_hahBot.py" afterDir="false" />
</list>
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -65,7 +65,7 @@
<component name="SharedIndexes">
<attachedChunks>
<set>
<option value="bundled-python-sdk-0e3be3396995-c546a90a8094-com.jetbrains.pycharm.community.sharedIndexes.bundled-PC-242.23339.19" />
<option value="bundled-python-sdk-890ed5b35930-d9c5bdb153f4-com.jetbrains.pycharm.pro.sharedIndexes.bundled-PY-251.23774.444" />
</set>
</attachedChunks>
</component>
@@ -174,7 +174,15 @@
<option name="project" value="LOCAL" />
<updated>1775199686999</updated>
</task>
<option name="localTasksCounter" value="13" />
<task id="LOCAL-00013" summary="test.json">
<option name="closed" value="true" />
<created>1775902582409</created>
<option name="number" value="00013" />
<option name="presentableId" value="LOCAL-00013" />
<option name="project" value="LOCAL" />
<updated>1775902582409</updated>
</task>
<option name="localTasksCounter" value="14" />
<servers />
</component>
<component name="UpdateCopyrightCheckinHandler">
@@ -204,7 +212,8 @@
<MESSAGE value="test4" />
<MESSAGE value="save to file wins, loose, draw and dif" />
<MESSAGE value="del commments" />
<option name="LAST_COMMIT_MESSAGE" value="del commments" />
<MESSAGE value="test.json" />
<option name="LAST_COMMIT_MESSAGE" value="test.json" />
<option name="OPTIMIZE_IMPORTS_BEFORE_PROJECT_COMMIT" value="true" />
<option name="REFORMAT_BEFORE_PROJECT_COMMIT" value="true" />
<option name="REARRANGE_BEFORE_PROJECT_COMMIT" value="true" />
+4 -2
View File
@@ -1,6 +1,8 @@
import telebot
import random
import telebot
from telebot import types
import filemanager
token = "8379986047:AAGr74CT6Y2a8moIWL4Outspent1CajoledF9ec"
@@ -24,7 +26,7 @@ Scissors = {}
def addUserIfNotExist(message):
uid = message.chat.id
if uid not in userLink: userLink[uid] = 0 #персональный счётчик
if uid not in userLink: userLink[uid] = 0 # персональный счётчик
filemanager.save_to_file(uid.txt, uid)
if uid not in wins: wins[uid] = 0
filemanager.save_to_file(wins.txt, wins)