Dexare

🧩 Modular and extendable Discord bot framework.

MIT License

Downloads
82
Stars
16
Committers
1

Bot releases are hidden (Show)

Dexare - v3.0.2 Latest Release

Published by Snazzah over 1 year ago

Fixed:

  • Updated dependencies and peer dependency version
Dexare - v3.0.1

Published by Snazzah over 1 year ago

Fixed:

  • Eris events are now typed correctly to use ClientEvents from the eris package (rather than manual typing)
Dexare - v3.0.0

Published by Snazzah over 2 years ago

Breaking Changes:

  • The eris dependency is now a peer dependency, allowing to switch to a different commit of eris or a PR without updating Dexare
  • Eris has been updated to v0.17.0
Dexare - v2.2.4

Published by Snazzah over 2 years ago

Fixed:

Dexare - v2.2.3

Published by Snazzah over 2 years ago

Fixed:

  • Fixed deprecated method of sending replies
Dexare - v2.2.2

Published by Snazzah over 2 years ago

Fixed:

  • Fixed Eris event names in constants
Dexare - v2.2.1

Published by Snazzah over 2 years ago

Fixed:

  • Fixed the client being too strict while registering commands/data managers/modules
Dexare - v2.2.0

Published by Snazzah over 2 years ago

Changed:

  • Updated Eris to v0.16.1, amongst other dependencies
Dexare - v2.1.0

Published by Snazzah over 3 years ago

Changed:

  • You can now predefine the Eris client when creating a Dexare client

Added:

  • afterConnect and afterDisconnect events
Dexare - v2.0.1

Published by Snazzah over 3 years ago

Fixed:

  • Discord permissions within the client
Dexare - v2.0.0

Published by Snazzah over 3 years ago

Migration from 1.x to 2.x

  • Any custom functions to DexareCommand#throttle should reference data managers when handling throttle data (DataManager#throttle)
  • Any custom permission registers should use permission objects rather than user/member/message

Changed:

  • Default command load can now load from packages by prepending ~ (ex. ~@dexare/logger)
  • [BREAKING] Command throttle functionality has changed
  • [BREAKING] Permissions now use permission objects rather than either user/member/message

Added:

  • Data managers (client.data), defaults to memory data manager
    • Accessible with client.data, can be extended from DataManager and loaded with DexareClient#loadDataManager
  • New exports: PermissionObject, ThrottleObject, ThrottleResult
Dexare -

Published by Snazzah over 3 years ago

Fixed:

  • Fixed client prefixing with read-only configs
Dexare -

Published by Snazzah over 3 years ago

Changed:

  • Dexare will automatically prepend Bot to the token if not there already
  • Dexare now uses Eris 0.15.0

Added:

  • Dexare will ensure the member within the message if ran within guilds
  • 'commands/spacedPrefix' event variable in commands module

Fixed:

  • Unnessesary mention in default ping command
  • Parsing within the default help command
Dexare -

Published by Snazzah over 3 years ago

Fixed:

  • Load modules asynchronously in the "load" default command
  • Requiring already loaded depenedencies no longer attempts to load it
Dexare -

Published by Snazzah over 3 years ago

Changed:

  • CommandContext#reply now creates a reply rather than appending a mention
    • Previos functionality is moved to CommandContext#replyMention

Added:

  • DexareClient#loadModule
  • DexareClient#loadModulesAsync
  • Added usage metadata to default commands
  • CommandContext#replyMention
  • 'load', 'unload' and 'reload' default commands

Fixed:

  • Fixed core permission registering
  • Loading modules with dependencies are fixed
Dexare -

Published by Snazzah over 3 years ago

Changed:

  • CommandsModule: info logs are now debug
  • EventRegistry: eventGroups and client is no-longer privated

Added:

  • DexareClient#unloadModule
  • Modules can have a description in their options
  • Modules can define their file path in their constructor
  • Some logs when loading/unloading modules
  • beforeConnect and beforeDisconnect events
  • exec and kill default commands

Fixed:

  • Registering commands in a folder
  • Added missing values in logging eris events
  • Fixed the default eval command
  • DexareClient not loading the collector module
Dexare -

Published by Snazzah over 3 years ago

Changed:

  • DexareClient#logToConsole: No longer has the includeErisEvents argument in favor of DexareClient#logErisEvents

Added:

  • DexareClient#logErisEvents
  • More JSDoc stuff.
  • BaseConfig is in the index.

Fixed:

  • CommandContext#reply: Mentions only are prepended in guild channels.
  • DexareClient#loadModules: Whoops.
Dexare -

Published by Snazzah over 3 years ago