From 1f3d9035ecf9418e38c8cc639d51b89f502f0e86 Mon Sep 17 00:00:00 2001 From: HypoxiE Date: Fri, 22 Aug 2025 21:43:26 +0700 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=B5=D1=80=D0=B5=D0=B4=D0=B5=D0=BB?= =?UTF-8?q?=D0=B0=D0=BD=D0=B0=20=D1=80=D0=B0=D0=B1=D0=BE=D1=82=D0=B0=20?= =?UTF-8?q?=D1=81=20=D0=BF=D0=B5=D1=80=D0=B5=D0=BC=D0=B5=D0=BD=D0=BD=D1=8B?= =?UTF-8?q?=D0=BC=D0=B8=20=D0=BE=D0=BA=D1=80=D1=83=D0=B6=D0=B5=D0=BD=D0=B8?= =?UTF-8?q?=D1=8F=D0=BC=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 5 +---- docker-compose.yml | 4 +++- postgres/backups/discord_moderation_bot_backup.sql | 6 +++--- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.env b/.env index 877797d..484ed40 100644 --- a/.env +++ b/.env @@ -1,5 +1,2 @@ DB_HOST: krekbots-postgres -DB_PORT: 5432 -DB_USER: discord_economy_bot -DB_PASSWORD: economy_bot -DB_NAME: discord_economy_bot_db \ No newline at end of file +DB_PORT: 5432 \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index a3f747c..1a0f70e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -31,6 +31,7 @@ services: - krekbots-network env_file: - .env + - ./economy-bot/.env krekbot-moderation: build: ./moderation-bot image: krekbot-moderation @@ -39,4 +40,5 @@ services: networks: - krekbots-network env_file: - - .env \ No newline at end of file + - .env + - ./moderation-bot/.env \ No newline at end of file diff --git a/postgres/backups/discord_moderation_bot_backup.sql b/postgres/backups/discord_moderation_bot_backup.sql index c2824dd..3f387e7 100644 --- a/postgres/backups/discord_moderation_bot_backup.sql +++ b/postgres/backups/discord_moderation_bot_backup.sql @@ -2,12 +2,13 @@ -- PostgreSQL database dump -- --- Dumped from database version 16.9 (Ubuntu 16.9-0ubuntu0.24.04.1) --- Dumped by pg_dump version 16.9 (Ubuntu 16.9-0ubuntu0.24.04.1) +-- Dumped from database version 17.6 (Debian 17.6-1.pgdg13+1) +-- Dumped by pg_dump version 17.5 (Debian 17.5-1) SET statement_timeout = 0; SET lock_timeout = 0; SET idle_in_transaction_session_timeout = 0; +SET transaction_timeout = 0; SET client_encoding = 'UTF8'; SET standard_conforming_strings = on; SELECT pg_catalog.set_config('search_path', '', false); @@ -613,7 +614,6 @@ COPY public.punishment_bans (id, user_id, reason, time_end, time_begin, moderato COPY public.punishment_mutes_text (id, user_id, reason, time_end, time_warn, time_begin, moderator_id) FROM stdin; 11 1214596185038524497 неадекватность, флуд 1751316852.212452 \N 1751316853.631501 479210801891115009 -14 725375070494523392 оскорбление модерации \N 1755852391.166809 1753173985.374117 479210801891115009 15 692403288137531464 Гифка с политическим подтекстом \N 1756284429.457732 1753605994.280519 479210801891115009 1 938433872436281395 1.10 \N 1757013986.387846 1749477018.566395 \N 16 479209452919193610 тест \N 1757269524.037278 1754623499.7988 479210801891115009