load 0.0.1

This commit is contained in:
Modestra committed 2026-12-02 18:24:42 +07:00
1 parent f4a511ca44
commit d9ebc7f0c6
4 files changed
+6 -3

No files matched your search

+3
View File
@@ -1 +1,4 @@
FROM python:3.14 FROM python:3.14
COPY . .
RUN pip install --no-cache-dir -r requirements.txt
CMD [ "python", "main.py"]
BIN
View File
Binary file not shown.
+2 -2
View File
@@ -10,6 +10,6 @@ services:
- .env - .env
build: build:
context: . context: .
dockerfile: Dockerfile dockerfile: DockerFile
networks: networks:
- backend - auditbot
+1 -1
View File
@@ -32,7 +32,7 @@ async def download_data(update: Update, context: ContextTypes.DEFAULT_TYPE) -> N
create_download_link(user=user[2], pwd=user[3]) create_download_link(user=user[2], pwd=user[3])
remove_audit_file(user=user[2], pwd=user[3]) remove_audit_file(user=user[2], pwd=user[3])
chat_id = update.effective_chat.id chat_id = update.effective_chat.id
context.bot.send_document(chat_id, document=open(f'audit_{now_utc}.txt', 'rb')) await context.bot.send_document(chat_id, document=open(f'audit_{now_utc}.txt', 'rb'))
app.add_handler(CommandHandler("download_data", download_data)) app.add_handler(CommandHandler("download_data", download_data))