Skip to content

0.16.2

Latest
Compare
Choose a tag to compare
@cakedan cakedan released this 25 Aug 19:15
· 1 commit to master since this release
211252f
  • Add run to both the component button and select menu helper
    -> Allows you to listen for a button press directly on the button helper itself
    -> Only listens for about 10 minutes (might change to customizable times in the future)

  • Fix Structures.Message.deleted not updating on channel/guild deletes

  • Update Structures.Message
    -> Add .hasFlagEphemeral

  • Update Interactions.InteractionCommand
    -> Default global to false if global isn't present and guildIds is present

  • Fix Component Helper's Typings
  • Update Structures.Message
    -> Add .canEdit
    -> Add checks for ephemeral in .canDelete
    -> Default .deleted as true if is an ephemeral message

  • Add Components to Utils
    -> Allows you to manage a message's components much easier as well as have a custom timeout and a listener to any button press on the message
    --> Timeout is defaulted to 10 minutes

  • Fix interaction commands not updating if a select menu option changes required

  • Update Structures.Member
    -> Add .canEditRole() (checks our role hierarchy with the role provided to see if its under us)

  • Update Constants
    -> Remove COMPONENT_ constants
    -> Add MAX_ACTION_ROW_BUTTONS and MAX_ACTION_ROW_SELECT_MENUS

  • Update Components Types

  • Fix ActionRow.isFull

  • Add types to thread rest endpoints