Skip to content

Support for Bot Panel 1.5

Latest
Compare
Choose a tag to compare
@TCMine TCMine released this 08 May 22:23
· 17 commits to master since this release
6569bf5
  • GuildChangeInteraction: Added support for custom message responses.
  • GuildChangeInteraction BREAKING: Moved all parameters to one unified object.
client.on('MODIFY_GUILD_DATA', (interaction) => {
   interaction.acknowledge({message: "Successfully updated.", success: true, newValue: "(New value)"})
})

This is still optional and acknowledge() will still return successful by default.

  • Client will now throw an error on any ERROR event.
  • WebSocket connection version is now 1.1.0.

Install with NPM:

npm install botpanel.js@1.2