Multivit4min / Sinusbot-Command

Simple Command Library for Sinusbot! Create commands, arguments and documentation for the command
https://multivit4min.github.io/Sinusbot-Command/
MIT License
7 stars 24 forks source link

Correct types #14

Closed irgendwr closed 5 years ago

irgendwr commented 5 years ago

This fixes two things:

  1. execHandler now correctly states that event has the optional message property
  2. typeAcquisition is now limited to "sinusbot-scripting-engine", this means:
    • you don't need to include the ///<reference path...
    • it will not use NodeJS Types
    • it works regardless of whether you have enabled typeAcquisition globally or not. Previously I would get erros from NodeJS but that is not the case anymore with this change.