Discord4J Bot

A template for deploying Discord bots with Discord4J

Deploy Discord4J Bot

Discord Bot

Lelebees/railway-d4j-template

Just deployed

This is a template for deploying Discord4J bots on Railway. It is based on the example Maven / Spring project from the example repository

In order to start, you should have made a bot in the Discord Developer Portal. You will need the bot's key in order to deploy this template. Don't share the key with anyone!

If you wish to test locally, you can make a .env file with a BOT_TOKEN variable. I recommend using a separate bot user for testing and production.


Template Content

More templates in this category

View Template

Telegram JavaScript Bot

A template for Telegram bot in JavaScript using grammY


View Template

DiscordJS bot

A basic Discord bot written in JavaScript


View Template

Discord-TS 'Most Likely To Minigame' Bot

A simple "Most Likely To" minigame.