Table of Contents

Upgrade from 10.6.0 to 10.6.2

Warning

This release contains important bug fixes and improvements. We recommend you to upgrade to this version as soon as possible.

Warning

The last versions including this one have under special circumstates a bug with reactions. If you encounter any issues in this direction, disable the reaction intents.


What changed?


➕ Added Application Command Cooldowns.

➕ Added DefaultForumLayout to DiscordChannel and it's methods.

➕ Implemented User Apps! You can now use apps anywhere :3 Articles will follow.

Nonce & EnforceNonce for DiscordMessage and the DiscordMessageBuilder.

➕ Re-implemented the timeout events GuildMemberTimeoutAdded & GuildMemberTimeoutRemoved. It won't show the broken audit log informations anymore.

➕ Added InteractionMetadata to DiscordMessage.

➕ Added Polls! Apps can now send polls, request vote information and get the result. Additionally two gateway events exist which are fired on vote add and vote remove. Articles will follow.

➕ Added OAuth2AddToGuildAsync to DiscordUser.

🛠️ Fixed a bug, causing apps to crash when trying to identify / resume. This was caused by both Discord and us. It seems to still bug out in special cases, we're on it!

🛠️ Fixed an NRE in GetMentions, which caused messages to throw on construct.

🛠️ Reworked ApplicationCommands & CommandsNext Cooldowns, articles will be updated in near future.

🛠️ The translator entities used for application commands localization are now public.

⚠️ Removed TokenType.User.


Completed Roadmap


Cooldowns for DisCatSharp.ApplicationCommands (Completed)

We were planning to add support for cooldowns in DisCatSharp.ApplicationCommands. This feature would allow developers to set cooldowns for commands, preventing users from spamming commands. This is now implemented. See this article for details.


Future Roadmap


Signed Attachment

We added signed attachments previously but it clashed with other attachment types and broke. We will re-introduce the entity at some point soon.

DisCatSharp.Voice (Planned)

In the pipeline is DisCatSharp.Voice, set to replace the existing DisCatSharp.VoiceNext. This upcoming version is being designed for enhanced performance and stability in voice-related functionalities of Discord bots, particularly focusing on audio recording. While it promises an upgraded experience for integrating voice features in Discord bots, please note that details are subject to change as development progresses.

Caching System Overhaul (Planned)

We're contemplating a major overhaul of our caching system, which plays a crucial role in data storage and management for optimized performance. The goal of this proposed rewrite is not just to boost efficiency and reliability but also to add flexibility in how data is handled. This might lead to the introduction of new features and methodologies for data storage and retrieval, though these plans are currently in a conceptual stage.

Audit Log Functionality Enhancement (On Hold)

Plans are underway to revamp our approach to the Discord audit log API. The intended rewrite of the audit log implementation is aimed at enhancing its functionality and user-friendliness. Potential improvements could include more efficient event tracking, superior data management, and expanded logging capabilities. However, these enhancements are in the developmental phase and are subject to change.

DisCatSharp.CommandNext Revamp (Proposed)

We are proposing a complete rewrite of DisCatSharp.CommandNext, a module essential for handling text commands in Discord bots. This project aims to elevate the module's overall effectiveness, performance, and ease of maintenance. Anticipated improvements include new features and optimizations that could simplify the creation and management of commands. Please note that these plans are in the initial stages and may evolve.


Feedback and Community Engagement

Your input makes DisCatSharp better! We warmly invite our community to share feedback, suggestions, or even report bugs.

Engaging with us helps shape the future of DisCatSharp, ensuring it meets your needs and expectations.

  • Join the Conversation: Have ideas or questions? Join our Discord community to discuss features, get help, or just chat with fellow developers.
  • Contribute: Interested in contributing? Check out our GitHub repository to see how you can contribute code, documentation, or report issues.
  • Stay Updated: Follow our news channel on Discord to stay up to date on the latest developments.

Your involvement is invaluable to us, and we look forward to growing and improving DisCatSharp together with our community!


Contributors