Skip to content
This repository has been archived by the owner on Aug 18, 2019. It is now read-only.

DDBot 1.1.3

Latest
Compare
Choose a tag to compare
@EricRabil EricRabil released this 18 Jun 18:32
· 24 commits to master since this release
This update is critical for people using module-compatible versions of DDBot

This version of DDBot is a bug fix / tweak release which patches modules from crashing the bot and adds a shortcut for the eval command.

No reconfiguration is required.

Notable changes:

  • Muted role will not duplicate rapidly
  • The command line now accepts node.js statements and behaves exactly like the eval command.
  • You can now call the eval command by simply prefixing your javascript with >
>client.config

is equivalent to

!eval client.config
  • Added a component resolution system (CRS) for module developers. It allows modules to have a reliable way of interacting with internal DDBot components.
require(client.resolve('response'))

is equivalent to

require('../../Util/Response')

It is recommended to use the CRS because in the event that a component is relocated, your module along with many others will not break if it interacts with that component. DDBot will store the location of all of its components.