A template repository for building BotWave plugins.
Using this template?
- Replace every occurrence of
mypluginwith your plugin's actual name.- Edit or replace the example handlers and scripts, or delete them and start fresh.
- Fill in this README below the line.
- Delete this block.
See the Plugin Template wiki page for a full walkthrough.
A BotWave plugin that does something.
[describe what your plugin does]
- BotWave installed at
/opt/BotWave - [any other dependencies]
sudo bash install.shCopies scripts to /opt/BotWave/scripts/myplugin/ and handlers to /opt/BotWave/handlers/.
sudo bash uninstall.shbotwave> hello one two three
arg1: one
arg2: two
arg3: three
BotWave passes arguments as BW_ARGV{n} environment variables (0-indexed, BW_ARGV0 is the command name itself).
handlers/
hello.cmd # custom command
s_onready_myplugin.shdl # runs silently when BotWave is ready
s_onexit_myplugin.shdl # runs silently when BotWave exits
scripts/
hello.sh # backing script for hello.cmd
install.sh
uninstall.sh
Licensed under GPLv3.0