Tuxbrain Bot is an open source, multi-utility Discord bot written in Python using hikari.py, a new static-typed Python API wrapper. Although it was designed for Tuxbrain.org servers, the bot can be hosted and used on any server.
- Profile Customization:
profile,customize,shop! - Economy Integration:
leaderboard,daily,fish,blackjack, andhi-lo! - Music Player:
play,controller,join, andleave! - Interactive Games:
russian-roulette,rps,connect4, andhangman! - Tuxbrain Integration:
register,search,top, andstrike! - Moderation:
broadcast,purge, andtranslator! - Fun/Useless Commands:
random,fact, andwotd!
-
Download the latest version from releases.
-
Install the required dependencies.
pip install -r requirements.txt --no-dependencies
- Set up and operate a Lavalink server to enable music playback (optional).
cd Lavalink
java -jar Lavalink.jar
Important
Tuxbrain Bot requires Python 3.11.0 or later to run.
- Generate settings.json by running the bot.py file once.
- Fill in the settings.json file with your bot token, guild ids, and other necessary information.
- Enable all intents through the Discord Developer Portal.
- Run the bot.py file again to start the bot.
cd src
python3.11 -O bot.py
- Hikari: https://github.com/hikari-py/hikari
- Lightbulb: https://github.com/tandemdude/hikari-lightbulb
- Lavalink: https://github.com/Devoxin/Lavalink.py
- Deep Translator: https://github.com/nidhaloff/deep-translator#chatgpt-translator
- Lingua: https://github.com/pemistahl/lingua-py