WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
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