Skip to content
Petr Bena edited this page Mar 30, 2018 · 2 revisions

Grumpy supports loading of JavaScript extensions through ECMA QtScript backend.

How to load a JS extension in GrumpyChat

There is a command /grumpy.script.load /path/to/script.js that loads the script. If you want to add some extension permanently, just add this command with the extension name to GrumpyChat's autoexec script (see preferences).

How to write a JS extension for GrumpyChat

See the example extension which also contains command reference: https://github.com/grumpy-irc/grumpy/blob/master/doc/example.js

Clone this wiki locally