This self-hosted discord bot can auto-moderate, run guild-specific commands and show fancy statistics.
Join the Discord
Report bug
·
Request feature
·
Visit Author
The bot is no longer in development.
Following programs and scripts are required to run this bot:
- Python
>3.7,<=3.8
- Pip
>=18.1
- Pipenv
>=v2020.6.2
(pip install pipenv
)
- Create your bot application at https://discord.com/developers/ and follow all steps to create a bot and invite it to your server
- Please note that this bot requires the "Server Members Intent" option or multiple features of this bot will break.
- As some statistic-tracking will likely be implemented in the near future, it is recommended to enable the "Presence Intent" option.
- It is recommended not to enable the "Public Bot" setting
- Clone this repository
git clone https://github.com/derdomee/discordbot-alexxoffi.git
- Create a file
.env
from.env.preset
and insert your settings, most importantly your discord bot token - Install the virtual environment:
pipenv sync
- Run the bot with
pipenv run start
(Or translate and run manually:pipenv run translate && pipenv run bot
)
This bot is developed and tested in Python 3.7 only, but it should run flawlessly in Python >=3.6
. Pipenv forces a single pinned python version as application requirement, thus I can not provide a wider version range for it. Just remove the python requirement in Pipfile
or change the value to your desired python version.
Feel free to fork this project and create a pull request containing your changes.