Discord Bot Template
This is an advanced c# discord bot template. With sharding and EF core and more!
What Bot templates Are Available?
You can switch bot templates by switching branches.
- A basic bot with sharding and basic command.
- A bot with a database using Entity framework + the same features as template 1.
Cloning
These instructions will get you a copy of the bot up and running on your local machine for development and testing purposes.
- Clone one of the bot templates.
- Fill in all the Data for your bot in the Constants class.
- Start the bot. This will create one or more config files in your debug/release folder of your project.
- Please follow the steps below for the bot template that you chose.
- Basic bot: Add your bot token to the ConfigData.json file.
- Entity framework bot: Follow the Basic bot steps above + follow the migration steps in the BotContext go to here for more info on migrations.
- Enjoy your bot!
Features
Basic bot
Entity framework bot
Built With
- Discord.Net - An unofficial .Net wrapper for the Discord API.
- EF core - The object-relational mapper.
- Unity - Used for dependency injection.
Authors
- BrammyS - Initial work - GitHub
See also the list of contributors who participated in this project.
License
This project is licensed under the MIT License - see the LICENSE file for details