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

Version 0.0.5

Compare
Choose a tag to compare
@TobiasFeld22 TobiasFeld22 released this 29 Nov 15:33
ba1bc12

A new release, where I worked on some missing features to make the framework better to use for production ready bots, I will continue working on this in 0.0.6, but i wanted to make sure the changes were out a bit faster.

Changed in this update:

  • Ability to specify a name for a moderator role [lvl 2] or Admin role [lvl 3].
    • Do this by adding modRole: "name-role" or adminRole: "name-role" in your startup file.
  • Updated reload command | #10
  • Event handler [Also used by intern system]
  • Reworked snippets
    • Replace .snippets.get("snippet_name")() with .snippets.snippet_name()
    • Use .snippets.list(?snippet-name) to get all snippets (keep it empty) or search for a snippet (first argument is name)

You can install this version by doing npm install sparkbots