DisCatSharp.ProjectTemplates 10.7.1-nightly-033

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-033
                    
This package contains a .NET Template Package you can call from the shell/command line.

DisCatSharp.ProjectTemplates

Template pack for building DisCatSharp-based .NET applications.

Included templates

Template Short name What it creates
DisCatSharp Bot Template DCSBot A bot class library intended to be hosted by another app
DisCatSharp Solution Template DCSSolution An ASP.NET Core host plus a bot project in one .slnx solution
DisCatSharp Web App Template DCSWebApp An ASP.NET Core host

Install

dotnet new install DisCatSharp.ProjectTemplates

Usage

Create the bot class library:

dotnet new DCSBot -n MyBot --DiscordToken "DISCORD_TOKEN"

Create the hosted solution:

dotnet new DCSSolution -n MyBot --DiscordToken "DISCORD_TOKEN"

Create the web app host:

dotnet new DCSWebApp -n MyWebHost

To see the full parameter list for either template:

dotnet new DCSBot --help
dotnet new DCSSolution --help
dotnet new DCSWebApp --help

Available options

The bot and solution templates support these DisCatSharp module switches:

  • --UseApplicationCommands
  • --AddTranslations (requires --UseApplicationCommands)
  • --UseCommandsNext
  • --UseCommon
  • --UseInteractivity
  • --UseLavalink
  • --UseVoice
  • --UseVoiceNatives

The standalone DCSWebApp template is just the ASP.NET Core host shell, so it intentionally has no custom template options.

Generated configuration

The bot settings file uses the current nested DiscordConfiguration model. The generated DisCatSharpProjectBot.settings.json includes:

  • Token
  • Intents
  • Gateway
  • Cache
  • Logging

This matches the modern DisCatSharp configuration structure and keeps gateway/cache/logging settings clearly separated.

Notes

  • The solution template generates an .slnx solution file.
  • Rider still has limited support for custom template parameters, so command-line usage is the safest path when you need template options.

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-041 55 12/1/2026
10.7.1-nightly-040 63 11/30/2026
10.7.1-nightly-039 67 11/28/2026
10.7.1-nightly-038 68 11/25/2026
10.7.1-nightly-037 69 11/24/2026
10.7.1-nightly-036 71 11/22/2026
10.7.1-nightly-035 81 11/10/2026
10.7.1-nightly-034 96 11/2/2026
10.7.1-nightly-033 100 10/29/2026
10.7.1-nightly-032 188 9/12/2026
10.7.1-nightly-030 182 9/8/2026
10.7.1-nightly-029 194 9/5/2026
10.7.1-nightly-028 181 9/5/2026
10.7.1-nightly-027 182 9/4/2026
10.7.1-nightly-026 203 8/20/2026
10.7.1-nightly-025 205 8/20/2026
Loading failed