/
README.txt
31 lines (21 loc) · 1.17 KB
/
README.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
This is a little toy project build in the Hackerspace Brussels (hsbxl)[0], which is basically
a plugin for the phenny[1] IRC bot. espeak [2] is used as the text-to-speech
engine, since that is the easiest to use from python. You create a subprocess
and write to stdin of that process. Right now the plugin it can do two things:
* it announces every user that joins a channel that phenny is connected to
with the sentence "Dudes, $nick has joined the channel" (this requires some
hacks in the phenny code base that can be found in the "bot.diff" file
* it defines the ".talk" command which can be used by all admins of the bot to
force to say custom things
The license of this module is GPLv3 [3]
To patch phenny to be able to use the module download the latest phenny from
[1] go into the toplevel directory and run:
patch -p0 < /path/to/TheSilentGuy/bot.diff
after that add the "src" dir to the "extra" list like so:
extra = ['/path/to/TheSilentGuy/src']
Now all people configured as admins are able to use ".talk" command.
--
[0] http://hackerspace.be/TheSilentGuy
[1] http://inamidst.com/phenny/
[2] http://espeak.sourceforge.net/
[3] http://www.gnu.org/licenses/gpl-3.0.html