/snakebot

Primary LanguagePythonMIT LicenseMIT

snakebot

A basic discord.py bot that tries to do everything

Code size GitHub repo size Lines of Code

Running

  1. Python 3.9 or higher

You should be able to run it on earlier versions but I haven't tried

  1. Install dependencies
pip install -U -r requirements.txt

If plyvel fails to install on Windows install Visual Studio Build Tools 2019

If plyvel fails to install on Debian or Ubuntu try

apt-get install libleveldb1v5 libleveldb-dev
  1. Setup configuration

The next step is just to create a file named config.py in the root directory where the bot.py file is with the following template:

token = ''  # your bot's token

 

Notes:

You will probably want to remove my discord id from the owner_ids in bot.py and replace it with your own

If you want the downvote command to work you should change the downvote emoji in events.py

If you want the music cog to work you will need ffmpeg either on your PATH or in the root directory where the bot.py file is

 

Requirements