First up, here's what you need to have installed on your machine:
-
Create a new Discord Bot and enable all of the Privileged Gateway Intents found in the bot tab.
-
Clone this repository:
git clone https://github.com/SSBUTrainingGrounds/Tabuu-3.0
2.1) Optional, but recommended: Create a virtual environment:
python -m venv venv
and activate it:.\venv\Scripts\activate
-
Install requirements:
pip install -r requirements.txt
-
Create a file named
token.txt
in the./files/
directory and enter your Discord Bot Token -
Run the bot:
python main.py
If you want to host your own bot using Tabuu 3.0 as a template, I recommend to follow these optional steps:
-
Replace the content of the following files in the
./files/
directory with your own, keeping the names:./files/stagelist.png
with your own stage list image../files/badwords.txt
with words that will get you automatically warned if said in chat, separated by newlines../files/starboard.json
with your desired starboard configuration, if you want to use the starboard feature.- The emojis used in the profile commands in
./files/characters.json
, change them if you have your own. If the bot does not have access to emojis it will just display:EmojiName:
, so it will still kind of work. Note that this limitation is only present on message commands.
-
Modify the values in the
./utils/ids.py
file with the unique IDs of your servers/channels/roles -
For the frame data command to work, you need an appropriate database, you can use this as a baseline.
Have fun!