Closed DanClarke-io closed 9 years ago
I believe it learnt those from people talking. If you look in the AI code you can probably tell it to not remember curse words.
I didn't implement it and I haven't read it for awhile so I might be wrong.
If you want to disable swears you can write a variant of bot.threads.ColourPrinter which catches a blacklist of swear-words for you in the output. Otherwise, the only offensive words in the system are: A) From the AI, which is entirely learned from the users in your network B) From the vulgarity generator, which you can customise by editing the source words in data/Vulgarities/ C) By disabling the modules that use them, which are otherwise useless (addgame.py and bigtext, which allows $insult as a replacement variable and is quite easy to disable)
However, if your IRC channel is family-friendly in general consult your network administrators for advice on the inbuilt capabilities for blacklisting/filtering/censoring inappropriate words on a channel-wide level.
Currently, if you say the name of the bot in an a channel it gives something like the following response:
On some servers this could be considered annoying/unneeded, the ability to disable the swearing and/or the vulgarity system as a whole would be appreciated.
Obviously this is a small request, and I understand if its not implemented.