TiDurak / DebilBot

Simple OOP discord.py bot with pretty music player, converters, games, etc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DebilBot DebilBot

Simple Russian Discord Bot, Written in Discord.py

Creator: gdisclaimer aka. tidurak, gamerdisclaimer



Usage

  1. Install all Python dependencies (pip install -r requirements.txt) and ffmpeg.
  2. If you are a Linux user, you should install the Times New Roman font.
  3. Install Google Cloud CLI, set up GOOGLE_API_KEY, and follow these instructions for using the /ai command.
  4. Get your bot token from the Discord Developer Portal.
  5. Set the DEBIL_TOKEN environment variable, OR put it in settings.token in config.py.
  6. Run the main.py file.

To launch music commands:

Windows

Download the ffmpeg build, unpack the archive, and set path_to_ffmpeg to your path to ffmpeg.

Linux

Just install ffmpeg (sudo apt install ffmpeg, sudo pacman -S ffmpeg, etc.), and for the path_to_ffmpeg value, type ffmpeg.

If the quote slash/context command works incorrectly, and you are a Linux user:

For Ubuntu/Debian/Mint users

Add the following non-free repos to your /etc/apt/sources.list, then run:

sudo apt update
sudo apt install ttf-mscorefonts-installer