This is an advanced c# discord bot template. With sharding and EF core and more!
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.
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!
- Discord.Net - An unofficial .Net wrapper for the Discord API.
- EF core - The object-relational mapper.
- Unity - Used for dependency injection.
- BrammyS - Initial work - GitHub
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE file for details