Can it say racial slurs?
User awareness of this kind of possible threat could have a chilling effect to be sure.
If I had a throwaway account I would try it. Racial slurs wouldn’t be useful to me, but I get it that you’re just using it as an example and perhaps the point is generalizable.
It doesn't.
Source: Operate an IRC bot.
Source: was operating a sexy bot that grow to fast, and people regularly pushed its limits to the extreme.