Your Own IRC Bot in Python

Internet relay chat is a wonderful way to talk about topics that interest you with others. All you need is a browser to use an online service. One popular server is freenode, which has its own browser based client.

What is IRC?

Wikipedia defines it as follows,

Internet Relay Chat (IRC) is a form of real-time Internet text messaging (chat) or synchronous conferencing. It is mainly designed for group communication in discussion forums, called channels, but also allows one-to-one communication via private message as well as chat and data transfer, including file sharing.

…and what are ‘bots’?

Bots, which is short for ‘robots’, are computer programs (or scrips!) that talk to the IRC server by themselves. They can send messages, receive messages, join and leave channels and do anything else _you_ could do. If a channel moderator promotes them, they can also kick and/or ban users.

Continue reading Your Own IRC Bot in Python