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
New Features
- Added property
PermissionOverwrites.type
. - Structures
Asset
andColor
now conform to protocolHashable
.
Bug Fixes
- Fixed an issue where
PermissionOverwrites.init()
could error if theMember
that was passed to thefor
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 toid
and is now of typeSnowflake
. - Parameter
id
have been added toPermissionOverwrites.init()
. Thefor
parameter is now of typeOverwriteType
. 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
- Property