Bot for creating private voice channels https://www.end-play.xyz/yusarin
Go to file
Profitroll 5c5a620d65 Merge pull request 'Update dependency py-cord to v2.5.0' (#8) from renovate/py-cord-2.x into main
Reviewed-on: #8
2024-03-02 17:44:44 +02:00
cogs Channel will terminate when the last user quit 2023-05-07 16:23:16 +02:00
locale Some minor locale changes 2022-07-20 14:14:58 +03:00
.gitignore Updated ignore 2023-05-07 16:38:46 +02:00
.renovaterc Renamed Renovate config 2023-04-20 13:38:00 +02:00
LICENSE Initial commit 2022-02-05 02:23:42 +02:00
README.md Fixed http 2023-08-26 00:00:44 +03:00
config_example.json config.json is now config_example.json 2023-05-07 16:38:17 +02:00
functions.py Channel will terminate when the last user quit 2023-05-07 16:23:16 +02:00
requirements-optional.txt Update dependency py-cord to v2.5.0 2024-03-02 11:01:22 +02:00
requirements.txt Update dependency py-cord to v2.5.0 2024-03-02 11:01:22 +02:00
start.bat Update 1.3 2022-02-10 21:26:16 +02:00
start.sh Update 1.3 2022-02-10 21:26:16 +02:00
yusarin.py Added config check and updated version to 2.3 2023-05-07 16:39:48 +02:00

README.md

YusarinBot

License: GPL v2 Translation status Code style: black Discord

Simple, easy to set up, yet reliable.
A specially designed bot for creating private voice channels on your Discord servers.
Installation instructions are listed below. Please, make sure you have installed dependencies before opening issue here.

Since version 1.5 only slash commands are supported. If you'd like to use old-fashioned commands and commands prefix feature consider installing 1.4 version which is the last one compatible with those.

Installation (Short)

  1. git clone https://git.end-play.xyz/profitroll/YusarinBot
  2. cd YusarinBot
  3. pip install -r requirements.txt
  4. cp config_example.json config.json
  5. nano config.json
  6. python yusarin.py

Installation (Detailed)

  1. Download and install Python 3.8+
  2. Download bot's release: https://git.end-play.xyz/profitroll/YusarinBot/releases/latest
  3. Unpack your archive to folder. Name it YusarinBot for example
  4. Change working directory using cd YusarinBot or cd FolderYouHaveCreated
  5. If you're using Linux system - install dependencies for Pycord
  6. Run pip install -r requirements.txt to install dependencies
  7. [Optionally] run pip install -r requirements-optional.txt to install optional dependencies
  8. Create new Discord application at https://discord.com/developers/applications
  9. You can rename it however you want, set needed descriptions etc
  10. Go to "Bot" tab and enable application as bot
  11. Copy token of your bot
  12. Copy config_example.json to config.json
  13. Open file config.json with your favorite text editor and paste your token as value of "bot_token" key
  14. Copy your own Discord ID and paste it as value of "owner" key (How to get ID: https://support.playhive.com/discord-user-id/)
  15. Bot is ready! Run it using python yusarin.py

Config explanation

Default configuration file is available here

  • "debug" - Option that enables more detailed log messages [Boolean]
  • "owner" - Discord ID of user who will be able to execute admin commands ($shutdown for example) [Integer]
  • "bot_name" - Name of your bot. Is not used anywhere yet [String]
  • "bot_token" - Token of your Discord bot [String]
  • "bot_prefix" - Default prefix for all bot commands [String]
  • "bot_locale" - Default language file of bot. Name of file in locale folder without extension is used [String]
  • "bot_activity" - The name (string) of the song bot will be listening to [String]
  • "color_default" - HTML color used in help messages embed [String]
  • "color_ok" - HTML color used on command success embed [String]
  • "color_warn" - HTML color used in all warning embeds [String]
  • "color_error" - HTML color used on command error embed [String]
  • "enable_nomic" - Option that allows you to create additional text channel for "nomic" purposes [Boolean]
  • "bot_site" - http or https link that will be used in help message header [String]
  • "bot_icon" - http or https link that will be used in help message header's icon [String]
  • "check_for_updates" - Option that defines whether bot should check for a new version available [Boolean]
  • "auto_clear_trash" - Option that defines whether bot should clean all buggy inactive channels every "auto_clear_timer" seconds [Boolean]
  • "auto_clear_timer" - Option that defines how often "auto_clear_trash" will do its job [Integer]

Extra

  1. Bot doesn't have any self updaters yet
  2. You can add public version of the bot to your Discord server using this link: https://www.end-play.xyz/yusarin/invite
  3. If you have questions/suggestions - just join our Discord Support Server