DisCatSharp.ProjectTemplates 10.7.1-nightly-025

Prefix Reserved
This is a prerelease version of DisCatSharp.ProjectTemplates.
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet new install DisCatSharp.ProjectTemplates@10.7.1-nightly-025
                    
This package contains a .NET Template Package you can call from the shell/command line.

DisCatSharp.ProjectTemplates

These project templates serve as a starting point for creating your Discord bot(s) in C#!

Web Host Bot (Class Library)

Allows you, the developer, to pick and choose which modules you'd like to include from DisCatSharp then sets up the project for you.

This is a class library, meant to be added as a project reference for hosted projects. Add your Bot's namespace in the web host project, this will allow you to use the extension methods provided in ServiceCollectionExtensions to add both the configuration file and bot.

Web Host

Contains the skeleton of your typical web project.

Converting Microsoft's Web Project template to have DCS as well is a low-priority WIP. For those waiting for this, or need it, please open an issue for it. If enough community interest is there we can allocate more resources towards getting it completed.

Important

Rider currently DOES NOT support parameters in custom projects. So unfortunately, anyone who wants to use these templates with Rider will need to utilize the command line...

To view the available parameters for the Bot Template, please use this command

dotnet new DCSWebHostBot --help

The solution template generates an .slnx solution file.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.7.1-nightly-026 56 8/20/2026
10.7.1-nightly-025 58 8/20/2026