Bot that handles welcome messages and does utility stuff
Go to file
2024-12-17 22:29:03 +01:00
classes Changed the Client structure 2024-12-17 22:14:06 +01:00
cogs Changed the Client structure 2024-12-17 22:14:06 +01:00
enums Improved type-hinting and overall sanity checks implemented. 2024-12-16 20:34:37 +01:00
errors Improved type-hinting and overall sanity checks implemented. 2024-12-16 20:34:37 +01:00
locale Closes #2 2024-06-23 12:05:03 +02:00
modules Changed the Client structure 2024-12-17 22:14:06 +01:00
validation WIP: Analytics validation 2023-05-08 19:27:33 +02:00
.dockerignore Added experimental Docker instructions 2024-12-17 22:29:03 +01:00
.gitignore Added tmp to ignore 2023-05-06 17:51:27 +02:00
.renovaterc Initial commit 2023-05-02 15:46:15 +02:00
config_example.json Closes #2 2024-06-23 12:05:03 +02:00
Dockerfile Added experimental Docker instructions 2024-12-17 22:29:03 +01:00
LICENSE Initial commit 2023-05-01 15:59:20 +03:00
main.py Changed the Client structure 2024-12-17 22:14:06 +01:00
README.md Added experimental Docker instructions 2024-12-17 22:29:03 +01:00
requirements.txt Update dependency libbot to v3.3.1 2024-12-17 00:00:36 +02:00

HoloBot Discord

Small Discord bot made on Py-Cord

License: GPL Code style: black

Installation from release

  1. Install MongoDB using the official installation manual
  2. Install Python 3.9+ (3.11+ is recommended)
  3. Download the latest release's archive
  4. Extract the archive
  5. Navigate to the extracted folder and subfolder Discord in it
  6. Create a virtual environment:
    python -m venv .venv or virtualenv .venv
  7. Activate the virtual environment:
    Windows: .venv\Scripts\activate.bat
    Linux/macOS: .venv/bin/activate
  8. Install dependencies:
    python -m pip install -r requirements.txt
  9. Run the bot with python main.py after completing the configuration

Installation with Git

  1. Install MongoDB using the official installation manual
  2. Install Python 3.9+ (3.11+ is recommended)
  3. Clone the repository:
    git clone https://git.end-play.xyz/HoloUA/Discord.git
  4. cd Discord
  5. Install dependencies:
    python -m pip install -r requirements.txt
  6. Run the bot with python main.py after completing the configuration

Configuration

There's a file config_example.json which contains default configuration and should be used as a base config.

Copy this file to config.json and open it with any text editor of your liking.

Modify the newly created configuration file to fit your needs.

Mandatory keys to modify:

  • guild
  • bot.owner
  • bot.bot_token
  • database.*
  • categories.*
  • channels.*
  • roles.*

After all of that you're good to go! Happy using :)

Docker [Experimental]

As an experiment, Docker deployment option has been added.

Building the image

  1. git clone https://git.end-play.xyz/HoloUA/Discord.git
  2. cd Discord
  3. docker build -t holoua-discord .

Starting the bot

  1. Install MongoDB using the official installation manual
  2. Download the configuration example file and store it somewhere you would like your bot to access it
  3. Complete the configuration step for this file
  4. docker run -d -v /path/to/config.json:/app/config.json holoua-discord