DisCatSharp.Analyzer 1.0.2

Prefix Reserved
dotnet add package DisCatSharp.Analyzer --version 1.0.2
                    
NuGet\Install-Package DisCatSharp.Analyzer -Version 1.0.2
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="DisCatSharp.Analyzer" Version="1.0.2">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DisCatSharp.Analyzer" Version="1.0.2" />
                    
Directory.Packages.props
<PackageReference Include="DisCatSharp.Analyzer">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add DisCatSharp.Analyzer --version 1.0.2
                    
#r "nuget: DisCatSharp.Analyzer, 1.0.2"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package DisCatSharp.Analyzer@1.0.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=DisCatSharp.Analyzer&version=1.0.2
                    
Install as a Cake Addin
#tool nuget:?package=DisCatSharp.Analyzer&version=1.0.2
                    
Install as a Cake Tool

Build Documentation CodeQL

GitHub last commit GitHub commit activity GitHub pull requests GitHub code size in bytes

LTS Latest


DisCatSharp

A Discord App Library written in C# for .NET


News

New

  • Nothing here yet

Breaking

  • Nothing here yet

About

Why DisCatSharp?

If you:

  • want a library where you get kind and efficient help
  • would like to have and use the most recent features of the Discord API
  • are ready to build great things

Then this is the right place for you!

What Happened With The History

We've squashed the history of DisCatSharp due to it's clone size and cluttered history. The original history can be seen in the releases / tags and at https://github.com/Aiko-IT-Systems/DisCatSharp.Backup (Archived version before the squash).

Installing

You can install the library from the following sources:

Documentation

The documentation is available at docs.dcs.aitsys.dev.

Alternative hosts for our docs are:

Bugs or Feature requests?

Either join our official support guild at https://discord.gg/RXA6u3jxdU, open an issue or write us an email at bugs@aitsys.dev.

Tutorials / Examples

Visual Studio Tools


NuGet Packages

Main

Package LTS Latest
DisCatSharp NuGet NuGet
DisCatSharp.ApplicationCommands NuGet NuGet
DisCatSharp.CommandsNext NuGet NuGet
DisCatSharp.Interactivity NuGet NuGet

Voice

Package LTS Latest
DisCatSharp.Lavalink NuGet NuGet
DisCatSharp.Voice NuGet NuGet
DisCatSharp.Voice.Natives NuGet NuGet

Hosting

Package LTS Latest
DisCatSharp.Configuration NuGet NuGet
DisCatSharp.Hosting NuGet NuGet
DisCatSharp.Hosting.DependencyInjection NuGet NuGet

Templates

Package LTS Latest
DisCatSharp.ProjectTemplates NuGet NuGet

Development / Commons

Package LTS Latest
DisCatSharp.Attributes NuGet NuGet
DisCatSharp.Common NuGet NuGet
DisCatSharp.Analyzer NuGet NuGet

Extensions

Package LTS Latest
DisCatSharp.Extensions.TwoFactorCommands NuGet NuGet
DisCatSharp.Extensions.OAuth2Web NuGet NuGet
DisCatSharp.Extensions.SimpleMusicCommands NuGet NuGet

Sponsors (Current & Past)

Thanks

Big thanks goes to the following people who helped us without being part of the core team ♥️

Special Thanks

The special thanks goes to Nagisa. Make sure to check out her Instagram ♥️♥️

The second special thanks goes to Sentry (GitHub) for sponsering us a business account on sentry for error tracking. You guys are the best 💕⭐

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
1.0.2 104 3/26/2026
1.0.0 4,030 4/3/2025 1.0.0 is deprecated.

DisCatSharp Release Notes

   - Overhauled presence caching and added follow-up regression coverage around gateway cache behavior.
   - Added Discord parity updates for store, entitlement, SKU, guild powerup / applied boost, application, audit-log, automod, message-type, and OAuth scope surfaces.
   - Fixed interaction response posting, soundboard cache refresh/list behavior, duplicate application-command execution logging, and several gateway/store dispatch follow-ups.
   - Removed .NET 8 support and aligned the core package with the current target framework matrix.

DisCatSharp.Attributes Release Notes

   - No major API additions.
   - Package metadata and target framework alignment were updated alongside the wider .NET 8 removal work.

DisCatSharp.ApplicationCommands Release Notes

   - Added dedicated `SlashCommandChecksFailed` and `ContextMenuChecksFailed` events with new event args for modern checks-failed handling.
   - Updated command error flow to use dedicated checks-failed events instead of the older errored-event-only pattern.
   - Included follow-up fixes and regression coverage around application-command checks-failed behavior and execution logging.

DisCatSharp.CommandsNext Release Notes

   - No notable feature changes.
   - Package alignment was updated as part of the .NET 8 removal and current framework support refresh.

DisCatSharp.Interactivity Release Notes

   - No notable feature changes.
   - Package alignment was updated as part of the current framework support refresh.

DisCatSharp.Common Release Notes

   - No dedicated end-user feature changes.
   - Shared framework/package alignment was updated with the rest of the solution.

DisCatSharp.Lavalink Release Notes

   - Fixed a regression affecting player updates when switching the bot's voice channel while using Lavalink.
   - Included follow-up Lavalink session/internal cleanup and removed obsolete archived Lavalink v1 sources from the maintained tree.

DisCatSharp.Voice Release Notes

   - Fixed voice/lavalink integration regressions around channel switching.
   - Voice native packaging/build settings were refreshed with the wider framework alignment changes.

DisCatSharp.Experimental Release Notes

   - Stabilized autocomplete interaction value handling.
   - Added documentation/supporting work around newer experimental search-related behavior.

DisCatSharp.Configuration Release Notes

   - No standalone package-specific API additions.
   - Configuration-related framework alignment was refreshed with the rest of the solution.

DisCatSharp.Hosting Release Notes

   - No notable feature changes.
   - Hosting package alignment was updated as part of the current framework support refresh.

DisCatSharp.Hosting.DependencyInjection Release Notes

   - No notable feature changes.
   - Dependency injection/hosting package alignment was updated as part of the current framework support refresh.

DisCatSharp.Analyzer Release Notes

   - Reworked the analyzer/tooling stack into a NuGet-first workflow with real xUnit/Roslyn regression coverage.
   - Added `DCS2101` as a application-command migration analyzer/code fix with rewrite, split, and manual migration modes..
   - Added `DCS2101` to an error because leaving legacy checks-failed logic on errored events can break consumers.
   - Added `DCS1101`, a presence migration analyzer/code fix for moving supported manual `DiscordClient.Presences` filtering and direct lookup shapes to `DiscordClient.GetPresences(userId)`.
   - Improved `DCS0201` so the override fixer can update `DiscordConfiguration` across project documents.
   - Updated analyzer packaging so `DisCatSharp.Attributes.dll` is bundled with the analyzer package for Roslyn runtime loading.
   - Added analyzer authoring documentation, diagnostic family guidance, release tracking files, and release workflow support for publishing `DisCatSharp.Analyzer`.