From 75325f3b3edfec93543f2ebf8a420cf643970ecd Mon Sep 17 00:00:00 2001 From: cordman Date: Thu, 19 Mar 2026 08:05:58 +0100 Subject: [PATCH] =?UTF-8?q?slou=C5=BEen=C3=AD=20s=20diskord=20botem?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 +--- env_template.txt | 1 + main-kord.py | 2 +- requirements.txt | 1 + 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 73829a5..b9e2338 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,3 @@ # ŠlincBot -Avantgardní open-source Telegramový bot ve stylu Davida Žlince - -Diskord edice [ZDE](https://git.czchan.org/cordman/diskord--lincbot "KABEL KABEL") \ No newline at end of file +Avantgardní open-source Telegramový/Diskordový bot ve stylu Davida Žlince \ No newline at end of file diff --git a/env_template.txt b/env_template.txt index 508c70e..91ef7c1 100644 --- a/env_template.txt +++ b/env_template.txt @@ -1,4 +1,5 @@ API_KEY=KEYHERE # telegram bot key +dAPI_KEY=KEYHERE # discord bot key CZCHAN_LLM_KEY=KEYHERE # LLM key #save as .env diff --git a/main-kord.py b/main-kord.py index 506f377..91f724e 100644 --- a/main-kord.py +++ b/main-kord.py @@ -8,7 +8,7 @@ from discord.ext import commands load_dotenv() -DISCORD_TOKEN = os.getenv("API_KEY") +DISCORD_TOKEN = os.getenv("dAPI_KEY") CZCHAN_LLM_KEY = os.getenv("CZCHAN_LLM_KEY") CHANCE = 1.0 diff --git a/requirements.txt b/requirements.txt index a2b81e2..5a917be 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ telebot dotenv requests +discord # pro discord bota \ No newline at end of file