Pterodactyl is an excellent platform for hosting applications that need to run 24/7, such as a Discord bot. It's important to understand that you are not hosting the Discord server itself, but rather the bot's program code that connects to the Discord service.
Prerequisites: Before you begin, ensure you have the following:
The Egg you need depends on the programming language your bot is written in (e.g., Python, JavaScript/Node.js, etc.). You can find a wide variety of bot-related Eggs from community sources.
.json
file for the Egg.