In today’s tech era, everything is becoming automated. Set up your own bots and code them freely, always hosted on your Shell. Your software will always be running, ensuring your guests and communities always get the best benefits from the tools you have to offer.
In this article we will go over the instructions on how to set up and maintain a popular Discord bot to make your chat experiences more fun, and more enjoyable for everybody.
You can do all this from your PlayStation, Xbox, iPhone, Android, tablet, or computer, and access it at any time to make changes.
The power is yours.
Setting up the Red Discord Bot on your Shell™.
Follow the instructions on https://discordpy.readthedocs.io/en/v1.3.4/discord.html#creating-a-bot-account
to create a Bot user and get a token to use in the redbot-setup.
Install the required dependencies:
sudo apt update
sudo apt -y install software-properties-common python3.8 python3.8-dev python3.8-venv python3-pip openjdk-11-jre-headless build-essential
Create a python 3.8 venv:
python3.8 -m venv ~/redenv
Enter the virtual environment:
source ~/redenv/bin/activate
Install Red:
python -m pip install -U pip setuptools wheel
python -m pip install -U Red-DiscordBot
Run the setup:
redbot-setup
Press Enter to use the default data location.
And choose 1 for JSON.
Now run redbot name, with the name of your instance.
In my case, I ran:
redbot redbot
Right-click, paste the token for your Bot user, and press Enter.
Now enter a prefix, I used an exclamation mark.
Now open the Invite URL in your browser and choose the server for the bot to join.
Visit the Red - Discord Bot docs for more information on getting started and customizing the bot.