(→WIP) |
No edit summary |
||
Line 17: | Line 17: | ||
== Our custom commands == | == Our custom commands == | ||
* !badum - for terrible jokes | * !badum - for terrible jokes | ||
* | * <s>!fluoro - controls the fluorescent lights</s> | ||
* !label - Prints labels @ [[SlabPi]] | |||
* ! | |||
* !janee - response in the affirmative or negatory sense to inquiries | * !janee - response in the affirmative or negatory sense to inquiries | ||
* !statustoggle - (temp) manually switch the space from closed to open | * !statustoggle - (temp) manually switch the space from closed to open | ||
* !sth temps and humidities of the different rooms | |||
* !wau-temp - Read the external temperature from the WUR sensors | * !wau-temp - Read the external temperature from the WUR sensors | ||
* ! | * !wikipedia - customised from the basic version | ||
* ~power - Current power consumption | * !wol - Performs wake-on-lan actions for machines in the space | ||
* ~power - Current power consumption (not [[Nurdbot]] but x0p actually) | |||
==WIP== | ==WIP== | ||
* !speak - Text to speach using Festival on [[SlabPi]] | * !speak - Text to speach using Festival on [[SlabPi]] | ||
* !espeak / !espreek / !edire / !esprech - Text to speach using espeak on [[SlabPi]] (different languages yay \o/) | * !espeak / !espreek / !edire / !esprech - Text to speach using espeak on [[SlabPi]] (different languages yay \o/) |
Revision as of 18:50, 11 August 2018
NURDbot is a small IRC bot based on the fantastic jsonbot by Bart Thate. It runs on nurdbot.vm.nurd.space.
Writing custom commands (AKA plugs)
Extensions go in /home/nurdbot/.jsb/myplugs/socket. In theory you could load a plugin with:
!plug-enable <plugin name>
In practice it turns out you have to kill the bot, start it again (see below how) and then do the !plug-enable.
Reloading the bot
- kill process starting with "python2.7 ./bin/jsb-irc"
- as user nurdbot, run the following
screen ~/jsonbot/botstart.sh
Our custom commands
- !badum - for terrible jokes
!fluoro - controls the fluorescent lights- !label - Prints labels @ SlabPi
- !janee - response in the affirmative or negatory sense to inquiries
- !statustoggle - (temp) manually switch the space from closed to open
- !sth temps and humidities of the different rooms
- !wau-temp - Read the external temperature from the WUR sensors
- !wikipedia - customised from the basic version
- !wol - Performs wake-on-lan actions for machines in the space
- ~power - Current power consumption (not Nurdbot but x0p actually)