Dev #3

Merged
rejnronuzz merged 3 commits from dev into main 2026-03-09 09:22:49 +00:00
2 changed files with 39 additions and 7 deletions
Showing only changes of commit f437892b1a - Show all commits

View File

@@ -5,21 +5,26 @@ you can use this as a base for your discord bot, writing your own [cogs](/cogs/)
## installation ## installation
firstly, clone the repo 1. clone the repo
``` ```bash
git clone https://github.com/rejnronuzz/muzovkantv2.git git clone https://github.com/rejnronuzz/muzovkantv2.git
cd muzovkantv2 cd muzovkantv2
``` ```
then insert your discord bot and [thecatapi](https://thecatapi.com) token into the .env file. 2. install the requirements
it should look something like this: ```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 DISCORD_TOKEN=abc123abc
CAT_API_KEY=live_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 ## 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. 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* *discord: rejnronuz*

View File

@@ -1,10 +1,12 @@
python
import os import os
from dotenv import load_dotenv from dotenv import load_dotenv
load_dotenv() load_dotenv()
TOKEN = os.getenv('DISCORD_TOKEN') TOKEN = os.getenv('DISCORD_TOKEN')
CHANNEL_ID = 1454107749028855971 # roles channel
CHANNEL_ID = 1454107749028855971 # roles channel
roles_message_id = 1454128857102680187 roles_message_id = 1454128857102680187
FUNCHOSA_CHANNEL_ID = 1379127661095551048 FUNCHOSA_CHANNEL_ID = 1379127661095551048
@@ -13,4 +15,29 @@ REACTION_ROLES = {
'🤙': 1454112345109299281, '🤙': 1454112345109299281,
'🤕': 1454112388662956093, '🤕': 1454112388662956093,
'🇺🇦': 1454113041305305200, '🇺🇦': 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"
"в лс отпишите по предложениям че в бота докинуть"
)