diff options
author | Joseph Graham <joseph@xylon.me.uk> | 2017-06-03 18:48:12 +0100 |
---|---|---|
committer | Joseph Graham <joseph@xylon.me.uk> | 2017-06-03 18:48:12 +0100 |
commit | ff6119f99a9a4c804936a8e07f69a2d94795a77a (patch) | |
tree | 0fbf083551594e75366f6efff3c69000b515ea6b /HACKING | |
parent | e1c4ef87e665a1a8476e063f03797f4e0496ac8b (diff) |
started abusing it to spam the channel and other users on
FreeNode. The feature could be secured but since nobody normally uses
it anyway I think it's not worth it.
Also tidied up to code a bit and got rid of some old files.
Diffstat (limited to 'HACKING')
-rw-r--r-- | HACKING | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,13 +1,13 @@ -Hi, this file was made by xyon. +Hi, this file was made by Xylon. Basically I made this bot by getting envbot and hacking it. When I first ran envbot it didn't do anything and I couldn't be bothered to read the documentation of how to use/add modules so i just opened up the main file and started hacking it up. -I modified lib/main.sh to source `hack_of_all_hacks' file once per minute and -I put all the code in `l33t_codes' function in that file. So you can modify/add -more code without having to restart the bot. +I modified lib/main.sh to source `process_event' file once per minute +and I put all the code in a function in that file. So you can +modify/add more code without having to restart the bot. Originally the bot was kind of; event driven, it could only respond to stuff that happens in the channel but couldn't say stuff `out of the blue', so in |