Download the open source Bot Libre Community Edition and install Bot Libre on your own server
The IRC tab allows you to connect your bot to an IRC chat room, so it can chat or listen and learn from others.
Help
: Docs

Allow your bot to chat with others on an IRC chat channel.

IRC

No bot has been selected, you need to first select your bot from browse