Skip to content

0.16.0

Compare
Choose a tag to compare
@abalabahaha abalabahaha released this 15 Nov 03:19
· 115 commits to dev since this release

Breaking Changes

  • Discord API v8 and v9 breaking changes:
    • Discord now requires users to specify Gateway Intents to receive certain events. To ease the transition, Eris defaults to requesting all non-privileged intents, configurable through the intents Client option.
    • getGuildEmbed() is removed in favor of getGuildWidget() (e194a71)
    • PermissionOverwrite#type is now a number instead of a string (e194a71)
    • The guildSubscriptions Client option is removed in favor of intents (e194a71)
    • Member#joinedAt is now nullable (3fe4d21)
    • Guild#region is removed in favor of VoiceChannel#rtcRegion (3fe4d21)
  • The voiceStateUpdate event can now emit with a partial member and null oldState (ee960c0)
  • The ws Client option has breaking changes (see ws@8.0.0 release notes)

Deprecations

  • Discord v8 and v9 deprecations:
    • Guild#nsfw is superseded by Guild#nsfwLevel (0abf61a)
    • On new messages, Message#stickers is superseded by Message#stickerItems (b483ff3)
  • getGuildAuditLogs() is replaced by getGuildAuditLog() (ec777a1)
  • Paginated functions now take options objects instead of flat lists of parameters (ec777a1)
    • e.g. getMessages(channelID, { limit: 5, around: msgID }) instead of getMessages(channelID, 5, undefined, undefined, msgID)
    • Includes getGuildAuditLog(), getMessageReaction(), getMessages(), purgeChannel(), getRESTGuilds(), and getRESTMembers()

Additions

Fixes

Contributors