forked from blizzthewolf/SeaCogs
2.9 KiB
2.9 KiB
Installing Red
This guide will explain how to create an instance of Red-DiscordBot (referred to as 'Red') on a Pterodactyl panel.
Running the bot on Pterodactyl is not required to use the Pterodactyl cog. If you already have a working instance of Red, you should look at Getting Started.
/// admonition | Caveats type: warning There are a few caveats to running an instance of Red on Pterodactyl.
- You will not receive any support from the Red developers.
- The built-in Audio cog will not work.
- Depending on your host, you might have to request a
tmpfs
size increase.
If these are unacceptable to you, you should install Red normally. ///
/// admonition | Requirements type: info
- A Discord bot token (see Creating a bot account)
- A panel host with the Red-DiscordBot Pterodactyl egg
- A panel with support for server splitting, like Bloom.host's DuckPanel. ///
Creating a Server Split
- Navigate to your host's server split option.
- Select
Discord Bots
in theServer Category
dropdown - Select
Red
in theServer Type
dropdown - Allocate 1gb of RAM to Red. You can get away with less, but for the purposes of this guide we'll be using 1gb.
- Allocate 5gb of storage space to Red.
- Click the
Split Server
button. The installation process will take a few minutes, once it's done, continue to the next section.
Configuring Startup Variables
- Navigate to the
Startup
page of your new server split. - Enter in your bot token.
- If you want to change the default prefix that the bot will respond to, do so here.
- If you want to change the owner of the bot, you can do so here. This defaults to the owner of the application the bot user is from.
Inviting the Bot
- Navigate to the
Console
page of your server split. - Click the
Start
button. - Click the Invite URL in your console, once the bot starts.
Initial Setup
Red is quite a large bot, so I'll focus on the specifics of getting the bot working with my Pterodactyl cog specifically.
/// admonition | [p]
is your bot's prefix
type: tip
///
- Load the
Downloader
cog.
[p]load downloader
- Add my repository to the bot
[p]repo add sea-cogs https://www.coastalcommits.com/SeaswimmerTheFsh/SeaCogs
- Install and load the Pterodactyl cog
[p]cog install sea-cogs pterodactyl
[p]load pterodactyl
- Follow the instructions given in Getting Started