Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

0.0.8-alpha

Pre-release
Pre-release
Compare
Choose a tag to compare
@Defxult Defxult released this 28 Jun 13:14
· 164 commits to main since this release

New Features

  • Added property PermissionOverwrites.type.
  • Structures Asset and Color now conform to protocol Hashable.

Bug Fixes

  • Fixed an issue where PermissionOverwrites.init() could error if the Member that was passed to the for parameter was not found in the internal cache.

Updated

  • Property Message.Reference.failIfNotExists was changed to a variable instead of a constant.
  • (Breaking Change) PermissionOverwrites
    • Property PermissionOverwrites.target was renamed to id and is now of type Snowflake.
    • Parameter id have been added to PermissionOverwrites.init(). The for parameter is now of type OverwriteType.
    • PermissionOverwrites.init() is no longer failable. With this change, the following no longer returns optional values:
      • GuildChannel.overwrites
      • CategoryChannel.overwrites
      • TextChannel.overwrites
      • ForumChannel.overwrites
      • VoiceChannel.overwrites
      • ThreadChannel.overwrites