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

v3.0.0

Compare
Choose a tag to compare
@danirod danirod released this 03 Jul 14:07
· 75 commits to trunk since this release

⚠ BREAKING CHANGES

The API for interactions now has separate functions for handling an interaction in a guild and in a DM. The handle() function will not be called anymore. Instead, you should implement handleDM() and/or handleGuild() depending on whether you want the interaction to be usable in a DM or in a guild. The docs have been updated to reflect this.

Additionally, context menus have been removed and replaced by two separate classes for handling user context menus and message context menus. The commands have been updated, but keep in mind that the old class was deleted, so the API contract is broken.

Features

  • add snooze button on thread messages (ef93d81)

Bug Fixes

  • do not quote messages sent to private channels (75fbb4e)
  • do not send to pinboard messages from private channels (3260f40)

Chore

  • deps: update standard dependencies (71e287d)

Refactor

  • split context menu by type (5418539)
  • split DM and group in button handler (32b940a)
  • split guild and DM in command handling (e17cdaf)