Thread:Sactage-fduser/@comment-26976642-20151221030306/@comment-5811199-20151230003246

There is source code which you can use on a server, available at https://github.com/sactage/chatbot-rb. Sactage used to make bots for wikis, but no longer does.