load 0.0.1
This commit is contained in:
1 parent
f4a511ca44
commit
d9ebc7f0c6
4 files changed
+6
-3
No files matched your search
@@ -1 +1,4 @@
|
||||
FROM python:3.14
|
||||
COPY . .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
CMD [ "python", "main.py"]
|
||||
+2
-2
@@ -10,6 +10,6 @@ services:
|
||||
- .env
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
dockerfile: DockerFile
|
||||
networks:
|
||||
- backend
|
||||
- auditbot
|
||||
@@ -32,7 +32,7 @@ async def download_data(update: Update, context: ContextTypes.DEFAULT_TYPE) -> N
|
||||
create_download_link(user=user[2], pwd=user[3])
|
||||
remove_audit_file(user=user[2], pwd=user[3])
|
||||
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))
|
||||
|
||||
|
||||
Reference in new issue
Block a user