DisCatSharp.ProjectTemplates 10.7.1-nightly-040

Prefix Reserved
This is a prerelease version of DisCatSharp.ProjectTemplates.
dotnet new install DisCatSharp.ProjectTemplates@10.7.1-nightly-040
                    
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-040 0 11/30/2026
10.7.1-nightly-039 47 11/28/2026
10.7.1-nightly-038 56 11/25/2026
10.7.1-nightly-037 55 11/24/2026
10.7.1-nightly-036 60 11/22/2026
10.7.1-nightly-035 72 11/10/2026
10.7.1-nightly-034 87 11/2/2026
10.7.1-nightly-033 90 10/29/2026
10.7.1-nightly-032 179 9/12/2026
10.7.1-nightly-030 173 9/8/2026
10.7.1-nightly-029 184 9/5/2026
10.7.1-nightly-028 171 9/5/2026
10.7.1-nightly-027 172 9/4/2026
10.7.1-nightly-026 194 8/20/2026
10.7.1-nightly-025 196 8/20/2026
Loading failed