Skip to content

v2.0.0

Choose a tag to compare

@github-actions github-actions released this 25 Sep 04:23
· 104 commits to main since this release

2.0.0 (2023-09-25)

Bug Fixes

  • discordbot: use the correct function (ab6c18c)
  • logger: include deployment in bot logs (c72b02a)
  • style: remove this (d63b83f)

Build System

  • @disqada/pathfinder: upgrade to the next major version (c17a5c0)
  • dotenv: removed dependancy (046f979)

Code Refactoring

  • botinfo: change object structure (5c8ba7d)
  • botinfo: rename BotInfo to BotConfig (3600d8c)
  • botinfo: replace BotInfo class with object (929ed6d)
  • botstyle: replace BotStyle class with functions (1b13403)
  • BotVars: replace BotVars calss with object (c3f2f9d)
  • importer: delete Importer (0170bc3)
  • style: merge 3 functions into one (7df1bbb)
  • vars: delete DiscordBot.vars (820ac39)

Features

  • asembed: export textToEmbed as asEmbed (5a011f5)
  • colour: replace Colour class with functions (9b7e1a5)
  • command.data: add ability to skip defer or ephemeral it (e418204)
  • data/: inject all JSON files inside data folder (7ca46d5)
  • replace Link class with functions (f224e5c)

BREAKING CHANGES

  • @disqada/pathfinder: @disqada/pathfinder upgraded to it's next major version
  • dotenv: dotenv is no longer a dependency
  • data/: Property config of DiscordBot class has been moved inside data property
  • botinfo: Property info inside DiscordBot class is renamed to config
  • vars: vars property inside DiscordBot class is deleted
  • style: applyTo, applyToEmbed and applyToEmbeds functions are replaced with applyStyle
    function
  • botstyle: BotStyle class is deleted, the style property inside DiscordBot class is deleted
    and applyTo... embeds now require the brand object as a second parameter
  • botinfo: BotInfo old properties are replaced with new ones
  • botinfo: BotInfo class is deleted
  • BotVars: BotVars class deleted
  • importer: Importer class deleted
  • colour: The Colour class doesn't exist anymore
  • Link class doesn't exist anymore