Skip to content

PieTw3lve/Tuxbrain-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tuxbrain Bot

GitHub Release GitHub Actions Workflow Status License License

Tuxbrain Bot is an open source, multi-use Discord bot written in hikari.py, a new static-typed Python API wrapper. The bot is currently still in development, so there may be some bugs. Although it was designed for Tuxbrain.org servers, the bot can be hosted and used on any server.

Features

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

Installation

  1. Clone the repository to your local machine.
git clone https://github.com/PieTw3lve/Tuxbrain-Bot.git
  1. Install the required dependencies.
pip install -r requirements.txt --no-dependencies
  1. Set up and operate a Lavalink server to enable music playback.
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