Merge pull request #2 from rejnronuzz/main

1
This commit was merged in pull request #2.
This commit is contained in:
2026-03-09 11:19:03 +05:00
committed by GitHub
2 changed files with 39 additions and 7 deletions

View File

@@ -5,21 +5,26 @@ you can use this as a base for your discord bot, writing your own [cogs](/cogs/)
## installation
firstly, clone the repo
```
1. clone the repo
```bash
git clone https://github.com/rejnronuzz/muzovkantv2.git
cd muzovkantv2
```
then insert your discord bot and [thecatapi](https://thecatapi.com) token into the .env file.
it should look something like this:
2. install the requirements
```bash
pip install -r requirements.txt
```
3. insert your discord bot token and [thecatapi](https://thecatapi.com) token into the .env file.
*it should look something like this:*
```
DISCORD_TOKEN=abc123abc
CAT_API_KEY=live_abc123abc
```
you can then edit the config.py to your liking.
you can then edit the [config.py](/config.py) to your liking.
## contacting
if you have any feedback, contact me on github issues or/and discord. if you want to add any functions to this bot, make a PR.
when submitting a bug report, make sure to attach the bot.log files. they generate automatically in root directory.
*discord: rejnronuz*

View File

@@ -1,10 +1,12 @@
python
import os
from dotenv import load_dotenv
load_dotenv()
TOKEN = os.getenv('DISCORD_TOKEN')
CHANNEL_ID = 1454107749028855971 # roles channel
CHANNEL_ID = 1454107749028855971 # roles channel
roles_message_id = 1454128857102680187
FUNCHOSA_CHANNEL_ID = 1379127661095551048
@@ -14,3 +16,28 @@ REACTION_ROLES = {
'🤕': 1454112388662956093,
'🇺🇦': 1454113041305305200,
}
ROLE_MESSAGE_TEXT = (
"пикните там роли снизу по реактам,\n"
"шоб если куда то шли играть с фаршем >3 человек то сразу можно было ее пингануть\n\n"
"react_index = {\n"
" '💩': гревдиггер\n"
" '🤙': бара наверн хз\n"
" '🤕': пох ваще за любой движ\n"
" '🇺🇦': мтк\n"
"}\n\n"
"естессно кто будет спамить пингом ролей тот будет опущен и закинут в таймаут\n"
"если бот в оффе роли выдадутся когда я врублю его снова"
)
HELP_TEXT = (
"комманды:\n"
"```\n"
"uptime : сколько времени прошло с запуска бота\n"
"funchosarand <id> : рандомная пикча из фунчозы либо по айдишнику в базе\n"
"funchosainfo : фунчоза.статы\n"
"kitty : рандомная пикча кошечки из thecatapi.com\n"
"```\n"
"префикс: `!`\n"
"в лс отпишите по предложениям че в бота докинуть"
)