All Templates / Bots
(C#) Discord.NET Bot
A Discord.NET bot template for making bots with C# using Docker deployments
Discord.net-Bot-Template
Quantam-Studios/Discord.net-Bot-Template
Just deployed
This is a great starting point for making C# Discord bots with the Discord.NET framework in a containerized fashion (Docker).
This guide will walk you through setting up a simple Discord bot and deploying it to Railway.
Before starting, make sure you have the following:
Go to your project settings and add the following environment variable:
DISCORD_TOKEN=your-discord-bot-token
bot
box.Once the bot is running, you can test it by typing the following commands in your Discord server:
/ping
- Check the bot's latency./hi @username
- Say hi to a specific user./random coin-toss
- Flip a coin./random dice-roll
- Roll a 6-sided die.Railway provides logs and management tools to monitor your bot's performance and status.
You are all set, time to add your own commands to make the Discord bot your own!
Template Content
Discord.net-Bot-Template
Quantam-Studios/Discord.net-Bot-TemplateDISCORD_TOKEN
Place your Discord-Generated API key here.
Details
Zach Goodson's Projects
Created on Aug 30, 2024
17 total projects
14 active projects
100% success on recent deploys
C#, Dockerfile
Bots
More templates in this category
Telegram JavaScript Bot
A template for Telegram bot in JavaScript using grammY
Agampreet Singh's Projects
241