Skip to content

PieTw3lve/Tuxbrain-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

227 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tuxbrain Bot

GitHub Release GitHub Actions Workflow Status License License

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.

Features

  • Profile Customization: profile, customize, shop!
  • Economy Integration: leaderboard, daily, fish, blackjack, and hi-lo!
  • Music Player: play, controller, join, and leave!
  • Interactive Games: russian-roulette, rps, connect4, and hangman!
  • Tuxbrain Integration: register, search, top, and strike!
  • Moderation: broadcast, purge, and translator!
  • Fun/Useless Commands: random, fact, and wotd!

Installation

  1. Download the latest version from releases.

  2. Install the required dependencies.

pip install -r requirements.txt --no-dependencies
  1. Set up and operate a Lavalink server to enable music playback (optional).
cd Lavalink
java -jar Lavalink.jar

How to run the Bot

Important

Tuxbrain Bot requires Python 3.11.0 or later to run.

  1. Generate settings.json by running the bot.py file once.
  2. Fill in the settings.json file with your bot token, guild ids, and other necessary information.
  3. Enable all intents through the Discord Developer Portal.
  4. Run the bot.py file again to start the bot.
cd src
python3.11 -O bot.py

Further readings