DisCatSharp.Analyzer
1.0.0
Prefix Reserved
dotnet add package DisCatSharp.Analyzer --version 1.0.0
NuGet\Install-Package DisCatSharp.Analyzer -Version 1.0.0
<PackageReference Include="DisCatSharp.Analyzer" Version="1.0.0"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
<PackageVersion Include="DisCatSharp.Analyzer" Version="1.0.0" />
<PackageReference Include="DisCatSharp.Analyzer"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add DisCatSharp.Analyzer --version 1.0.0
#r "nuget: DisCatSharp.Analyzer, 1.0.0"
#addin nuget:?package=DisCatSharp.Analyzer&version=1.0.0
#tool nuget:?package=DisCatSharp.Analyzer&version=1.0.0
DisCatSharp
A Discord App Library written in C# for .NET
News
New
- Full support for Components V2
- Stability Improvements
- Build-in Statistics
- Support for .NET 10
- Improvements for OAuth2 operations
Breaking
- DiscordAttachment: Renamed
MediaType
toContentType
to align with Discord's API. - DiscordTextComponent: Switched the position of
customId
andlabel
because of nullability. - Application Commands: Removed
dmPermission
fields, causing DisCatSharp to do weird bulk-updates. UseallowedContexts
instead. - LavalinkGuildPlayer:
RemoveQueue
renamed toRemoveFromQueue
. - Url fields: Any
Url
fields on objects likeDiscordAttachment
,DiscordEmbed
, etc., are now of typeDiscordUri
instead ofstring
. Use.ToUri()
to get aUri
object or use.ToString()
. - We updated some namespaces in DisCatSharp.Interactivity. You might need to update your imports for some entities and enums.
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:
- Backup Host backup-docs.dcs.aitsys.dev
Bugs or Feature requests?
Either join our official support guild at https://discord.gg/2HWta4GXus, open an issue or write us an email at bugs@aitsys.dev.
Tutorials / Examples
Visual Studio Tools
NuGet Packages
Main
Package | Stable | Nightly |
---|---|---|
DisCatSharp | ||
DisCatSharp.ApplicationCommands | ||
DisCatSharp.CommandsNext | ||
DisCatSharp.Interactivity |
Voice
Package | Stable | Nightly |
---|---|---|
DisCatSharp.Lavalink | ||
DisCatSharp.VoiceNext | ||
DisCatSharp.VoiceNext.Natives |
Hosting
Package | Stable | Nightly |
---|---|---|
DisCatSharp.Configuration | ||
DisCatSharp.Hosting | ||
DisCatSharp.Hosting.DependencyInjection |
Templates
Package | Stable | Nightly |
---|---|---|
DisCatSharp.ProjectTemplates |
Development / Commons
Package | Stable | Nightly |
---|---|---|
DisCatSharp.Attributes | ||
DisCatSharp.Common | ||
DisCatSharp.Analyzer |
Extensions
Package | Stable | Nightly |
---|---|---|
DisCatSharp.Extensions.TwoFactorCommands | ||
DisCatSharp.Extensions.OAuth2Web | ||
DisCatSharp.Extensions.SimpleMusicCommands |
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 💕⭐
Open Source License Status
Product | Versions 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. |
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.0 | 440 | 4/3/2025 |
DisCatSharp Release Notes
- Full support for Components V2
- Stability Improvements
- Build-in Statistics
- Support for .NET 10
- Improvements for OAuth2 operations
Breaking
- **DiscordAttachment**: Renamed `MediaType` to `ContentType` to align with Discord's API.
- **DiscordTextComponent**: Switched the position of `customId` and `label` because of nullability.
- **Application Commands**: Removed `dmPermission` fields, causing DisCatSharp to do weird bulk-updates. Use `allowedContexts` instead.
- **LavalinkGuildPlayer**: `RemoveQueue` renamed to [`RemoveFromQueue`]((xref:DisCatSharp.Lavalink.Entities.LavalinkGuildPlayer.RemoveFromQueue*)).
- **Url fields**: Any `Url` fields on objects like `DiscordAttachment`, `DiscordEmbed`, etc., are now of type [`DiscordUri`](xref:DisCatSharp.Entities.DiscordUri) instead of `string`. Use `.ToUri()` to get a `Uri` object or use `.ToString()`.
- We updated some namespaces in DisCatSharp.Interactivity. You might need to update your imports for some entities and enums.
DisCatSharp.Attributes Release Notes
- None
DisCatSharp.ApplicationCommands Release Notes
- Some optimizations
DisCatSharp.CommandsNext Release Notes
- None
DisCatSharp.Interactivity Release Notes
- None
DisCatSharp.Common Release Notes
- None
DisCatSharp.Lavalink Release Notes
- New queue system. See https://docs.dcs.aitsys.dev/articles/modules/audio/lavalink_v4/queue
- Support for LavaLyrics plugin
DisCatSharp.VoiceNext Release Notes
- Will be deprecated 2025 and replaced by DisCatSharp.Voice
DisCatSharp.Experimental Release Notes
- GCP Attachments
- Guild Member Search powered by elasticsearch
DisCatSharp.Configuration Release Notes
- None
DisCatSharp.Hosting Release Notes
- None
DisCatSharp.Hosting.DependencyInjection Release Notes
- None