Skip to content

v2.0.0

Latest
Compare
Choose a tag to compare
@ThijnK ThijnK released this 16 Nov 13:36
· 1 commit to main since this release

Features

  • Deno: the template now uses Deno 2!
  • Commands: add a guildOnly option to disallow usage outside of guilds
  • Interaction IDs: improve handling of interaction IDs
  • Logging: add more advanced logging options (e.g. log to file and discord webhook)
  • Confirmations: add easy setup of confirmation flows to confirm or cancel any action
  • Docs: add guides and information on new features mentioned above
  • Docs: add explanation and example of how to set the bot's status statically and dynamically

Fixes

  • Client: move the client login from src/client/index.ts to src/index.ts to avoid a login when running the deploy or clean script
  • Scripts: remove requirement that the TEST_GUILD environment variable be defined in cases where it is not needed

Refactor

  • Import aliases: add and use import aliases powered by Deno for env, client, commands, types and utils (avoiding the need to add /index.ts to the imports)