How Can We Help?
Print

How to Host a Discord Bot

The following guide will be using a Python Discord bot, however, the steps remain almost identical for all other languages (JavaScript, Java, C#, Rust, GoLang).

1. Log in for the First Time

After placing your order on the Cybrancee website, you will receive an email confirming your order. The first step is to access the Control Panel, where you will manage the server. To get access for the first time, you will need to reset your password (this is because we don’t share the password via email).

Go to https://panel.cybrancee.com and when greeted with the login page, click on the ‘Forgot Password’ button. Alternatively, you can get to the Panel by going to Client Area > Click on the ‘Services’ box > Click on your product > Click ‘Go to Panel’.

2. Reset Your Password

You will receive a reset password email like the image below. Click the ‘Reset Password’ button to initiate the process.

3. Set a New Password

Enter a new secure password into the form, then click the ‘Reset Password’ button.

4. Access Your Panel Dashboard

You will be taken back to the login page where you can now log in with your new set of credentials. Once logged in, you will be presented with the Cybrancee Pterodactyl Control Panel. This is where you will manage your Discord Bot server and configure it to how you like. From here, click on the ‘Manage Server’ button.

5. Locate Your SFTP Details

You will now need to upload your bot files. The best way to do this is by using SFTP. Firstly, head over to the Settings page. Your SFTP details will be listed on this page. You will be provided a username and hostname. The password is what you used to sign into your Pterodactyl panel. To connect to the SFTP host, install an FTP tool such as FileZilla (https://filezilla-project.org/download.php?type=client).


6. Connect via SFTP

Open FileZilla or the SFTP tool of your choice, and enter the values mentioned in Step 5 into the application. The port is 2022. Once connected, the files on the left represent your local drive, and the files on the right represent your server files.

7. Upload the Files

Once connected, all you need to do is upload the bot files to your server. Drag the bot files/folders from your local computer over to the server.

8. Configure Your Bot Server

After your files are uploaded, you’ll need to set the version of your language to be what your bot requires. To do this, go to the ‘Startup’ page.

9. Change the Version

Click on the ‘Docker Image’ dropdown and select the desired version.

10. Set the Bot File

You will now need to tell the panel which file to use when starting your bot. This is done in the ‘BOT PY FILE’ (or may be labelled as ‘BOT JS FILE’ etc for other languages).

11. Add any Dependancies

There is a field provided where you can input any dependencies that your bot requires (you need to enter any dependencies here so that the panel will fetch them when the bot runs).

12. Start Your Bot! 🎉

Head back to the console page and turn on your bot!

Starts at $1.49 per Month

Discord Bot Hosting

Start Now

Several useful references are below if you need to do any further customising:

Article
Discord Bot is Running, But Doesn’t Show as Online on Pterodactyl
How to configure schedules in Pterodactyl
How to Easily Upload Folders to the Pterodactyl Panel
How to Rename Your Pterodactyl Server
How to use Git in Pterodactyl
Using Pterodactyl Controls
How to Find a Discord Channel ID
How to Find a Discord Guild ID
How to Find a Discord Role ID
How to Find a Discord User ID