three commit

This commit is contained in:
Mary 2024-08-16 18:31:49 +03:00
parent ab2aeedcb8
commit 03cfd40737
3 changed files with 25 additions and 24 deletions

View File

@ -1,3 +1,4 @@
API_TOKEN=
LAWYER =
MANAGER =
CHAT_ID =

44
.idea/workspace.xml generated
View File

@ -4,20 +4,7 @@
<option name="autoReloadType" value="SELECTIVE" />
</component>
<component name="ChangeListManager">
<list default="true" id="de848e3e-3eff-4947-8a5d-ce39775caa4e" name="Changes" comment="">
<change afterPath="$PROJECT_DIR$/.idea/bot_two.iml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/.idea/inspectionProfiles/Project_Default.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/.idea/inspectionProfiles/profiles_settings.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/.idea/misc.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/.idea/modules.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/.idea/vcs.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/Dockerfile" afterDir="false" />
<change afterPath="$PROJECT_DIR$/bot.py" afterDir="false" />
<change afterPath="$PROJECT_DIR$/docker-compose.yaml" afterDir="false" />
<change afterPath="$PROJECT_DIR$/main.py" afterDir="false" />
<change afterPath="$PROJECT_DIR$/requirements.txt" afterDir="false" />
</list>
<list default="true" id="de848e3e-3eff-4947-8a5d-ce39775caa4e" name="Changes" comment="two commit" />
<option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" />
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
@ -35,15 +22,15 @@
<option name="hideEmptyMiddlePackages" value="true" />
<option name="showLibraryContents" value="true" />
</component>
<component name="PropertiesComponent"><![CDATA[{
"keyToString": {
"Python.main.executor": "Run",
"RunOnceActivity.OpenProjectViewOnStart": "true",
"RunOnceActivity.ShowReadmeOnStart": "true",
"git-widget-placeholder": "main",
"last_opened_file_path": "C:/Users/PC/Desktop/bot_two"
<component name="PropertiesComponent">{
&quot;keyToString&quot;: {
&quot;Python.main.executor&quot;: &quot;Run&quot;,
&quot;RunOnceActivity.OpenProjectViewOnStart&quot;: &quot;true&quot;,
&quot;RunOnceActivity.ShowReadmeOnStart&quot;: &quot;true&quot;,
&quot;git-widget-placeholder&quot;: &quot;main&quot;,
&quot;last_opened_file_path&quot;: &quot;C:/Users/PC/Desktop/bot_two&quot;
}
}]]></component>
}</component>
<component name="RecentsManager">
<key name="CopyFile.RECENT_KEYS">
<recent name="C:\Users\PC\Desktop\bot_two" />
@ -65,6 +52,19 @@
<option name="presentableId" value="Default" />
<updated>1723632534810</updated>
</task>
<task id="LOCAL-00001" summary="two commit">
<option name="closed" value="true" />
<created>1723796616092</created>
<option name="number" value="00001" />
<option name="presentableId" value="LOCAL-00001" />
<option name="project" value="LOCAL" />
<updated>1723796616092</updated>
</task>
<option name="localTasksCounter" value="2" />
<servers />
</component>
<component name="VcsManagerConfiguration">
<MESSAGE value="two commit" />
<option name="LAST_COMMIT_MESSAGE" value="two commit" />
</component>
</project>

2
bot.py
View File

@ -31,7 +31,7 @@ async def cmd_start(message: types.Message):
@router.callback_query(F.data == "channel_navigation")
async def channel_navigation(callback_query: types.CallbackQuery):
""" Обработка нажатия на кнопку "Навигация канала" """
chat_id = -1002224751518 # ID вашей группы
chat_id = os.getenv("CHAT_ID")
await bot_chat.send_message(
chat_id=chat_id,
text="Дорогие, клиенты 💚 Данный чат создан для того, чтобы оперативно сообщать Вам о ходе завершения"