stormbot/modules
2016-09-07 10:06:14 -04:00
..
args Updated args module. 2016-09-03 23:27:52 -04:00
coin coin module. 2016-09-05 21:44:04 -04:00
convert Fixed a bug in parsing input with calling the bot by name, also, added convert module that requires the units program. 2016-09-07 10:06:14 -04:00
cuss Added a cuss module, several minor code improvements. 2016-09-06 18:17:34 -04:00
do coin module. 2016-09-05 21:44:04 -04:00
fortune We seem to have a nicely working fortune modlue now. 2016-09-03 20:48:41 -04:00
help First pass at link announcing. 2016-09-04 17:22:05 -04:00
hns Fixed a buggy bug bug. 2016-09-05 10:40:39 -04:00
joke Added a joke module. 2016-09-04 22:34:18 -04:00
pimp Pimp translator added to the bot. 2016-09-03 23:05:53 -04:00
ping Moving common functions to a functions file. 2016-09-03 00:14:12 -04:00
rps Rock, Paper, Scissors is fixed. 2016-09-03 10:25:55 -04:00
say coin module. 2016-09-05 21:44:04 -04:00
sex Sex for the bot. 2016-09-03 10:35:20 -04:00
sing Sing will now accept tracks with a :, bot config file is now bot.cfg. 2016-09-06 12:08:29 -04:00
README.md Module docs for making it easier to write modules. 2016-09-03 11:31:18 -04:00

When creating modules, remember to source the functions file so all the info it contains will be available. [ -f functions.sh ] && source functions.sh Modules are given two parameters, $1 is the nick of the person who called the module, and $2 is the channel. You need at least $2 when sending a message to a channel, like the following: msg "$2" the rest of your message (quotes are optional, but be careful to escape things if you don't use quotes.)