Skip to content

Releases: Color-Chan/Color-Chan.Discord

v1.3.5 - Hotfix

11 Aug 17:57
Compare
Choose a tag to compare
  • Fix: Unable to use nullable parameters for slash commands

v1.3.4 - Initial official release

11 Aug 16:00
Compare
Choose a tag to compare

This is the first official release of Color-Chan.Discord since most bug have been washed out and the library will be used in the Beta version of Color-Chan soon!

  • Fix: Not setting embeds private.
  • Added DeleteOriginalInteractionResponseAsync.
  • Added mention extension methods.

v1.3.4-beta - Breaking bugs

11 Aug 11:57
Compare
Choose a tag to compare
Pre-release
  • Fix: Channel id missing when the slash command was used in DMs.
  • Fix: possible Null Reference Exceptions for DiscordSelectOption
  • Fix: always checking for channel perm overwrites when no channel perms are required.
  • Added: HasChannelPermissions extension method.
  • Added missing channel types.
  • Added missing properties for interactions.

v1.3.3-beta - Breaking bug

10 Aug 19:55
Compare
Choose a tag to compare
Pre-release
  • Fix: Not passing down correct arguments for sub commands and sub command groups.
  • Fix: Not using correct option type for roles and user options.
  • Added VerifyInteractions config option.

v1.3.2-beta - Bug fixes

10 Aug 14:46
Compare
Choose a tag to compare
Pre-release
  • Fix: MethodName on ISlashCommandContext was not nullable.
  • Added SlashCommandName to ISlashCommandContext.

v1.3.1-beta - Pipelines

10 Aug 13:13
Compare
Choose a tag to compare
Pre-release
  • Added ISlashCommandPipeline.
  • Added ToReadableString for DiscordPermission.
  • Added better default configs.
  • Added different error results for all requirements.
  • Fix: always resolving restChannel for SlashCommandRequireBotPermission.
  • Fix: Missing guild permission for bot user on SlashCommandRequireBotPermission.
  • Fix: Renamed DiscordGuildPermissions to DiscordPermission.

v1.3.1-alpha - Bug fixes

09 Aug 14:32
Compare
Choose a tag to compare
Pre-release
  • Fix: 500 error when no verification headers are provided.
  • Fix: not adding all Color-Chan.Discord.Commands dependencies.
  • Fix: Failing to send error message when inner exception is null.
  • Added SlashCommandRequireChannel

v1.3.0-alpha - Better command returns

08 Aug 16:10
Compare
Choose a tag to compare
Pre-release
  • Added the possibility to add no expiration for cache objects.
  • Added better configuration classes.
  • Added guild & channel to slash command context.
  • Added overload for CacheValue & CacheValueAsync with absoluteExpiration.
  • Changed command returns to Result<IDiscordInteractionResponse>.
  • Fix: rate limits expiration not working when the user keeps spamming requests.

v1.2.0-beta - Command rate limits, cache and much more

07 Aug 18:31
Compare
Choose a tag to compare
  • Added Color-Chan.Discord.Cache. You can choose between a Redis cache and a local cache!
  • Added slash command rate limits! Simply add the SlashCommandRateLimit(maxRequests, timeInSeconds) attribute above a command to add rate limiting to a command.
  • Added CreateInteractionResponse.
  • Added GetOriginalInteractionResponse.
  • Added AcknowledgeInteractions to configs to support commands that run for longer then 3 seconds.
  • Added GetOriginalInteractionResponse.
  • Added interaction token and ID to SlashCommandContext.
  • Added the SlashRequireDirectMessages attribute to require a command to be used in DMs.
  • Added the SlashRequireGuild attribute to require a command to be used in a guild.
  • Added the SlashRequireUserPermission attribute to require a user to have certain permissions to use the command.
  • Added the SlashCommandRequireBotPermission attribute to require the bot to have certain permissions to use the command.
  • Fix: not handling http rate limit error properly.
  • Fix: Incorrect property name on DiscordMessageData.

v1.1.0-beta - Command perm overwrites

05 Aug 13:51
Compare
Choose a tag to compare
Pre-release
  • Added defaultPermission to command and command groups.
  • Added SlashCommandPermissionAttribute to give a user or a role access to a command or command group.
  • Added auto sync for command perm overwrites.
  • Added application command permission rest API calls.
  • Added new JSON error codes.
  • Fix: Updated commands now get edited instead of overwritten.