Skip to content
Logicguy edited this page Feb 5, 2023 · 7 revisions

Welcome to the discox wiki!

Here we will document how to interact with the incredibly efficient discord py framework build by the v1rbox community :D

Tho before we start lets get you up and running with your own running discord bot :o

Getting the bot token

  1. Follow the instructions here to add a Discord Bot to your test server.
  2. After the bot is added clone the project repo.
  3. Copy the Bot Token from Discord Developer Portal.

How to setup with poetry (very simplified)

  1. Install poetry (pip install poetry) and GNU make (should came with most linux distros or if windows then you can install it with winget by winget install -e --id GnuWin32.Make)
  2. Clone Discox's repository
  3. Run make init
  4. Edit .env file with example provided in .env.example
  5. Run your bot up with make run
  6. If you want to add your own dependencies you could with poetry add <package> like pip
  7. Read wiki for how to create commands et cetera.

Setting up the MySQL database

The bot relies on a MySQL database to function, to set it up you want to download MySQL / mariaDB

Then simply start / enable it with systemd

stsystemctl start mariadb

The client expects a user root@localhost with the password of '' aka no password. It will automatically set everything up from there when running for the first time

This will start the bot, you can now work with it in the test servers.