![]() ![]() There are some bots that can read Twitter feeds, perform web searches, or even do sed-like find and replace (I’ve written one for this and have it shared on GitHub! See the Wrap Up section below for details).IRC Bots can be written in a variety of languages. ![]() They can serve a variety of purposes: From saving chat logs, to administrative tools, to any number of other silly, useful, or sometimes strange features. An IRC bot differs from a regular client in that instead of providing interactive access to IRC for a human user, it performs automated functions.” ( Source)So basically, an IRC bot appears as another user to everyone else, but instead performs set actions per its script in response to predetermined events (usually specific messages in the chat). I go by OrderChaos on IRC (and most other places) so look for that name! IRC Botsīefore we get started, you might be wondering, “What is an IRC bot?” The ever-useful and wonderful Wikipedia defines an IRC Bot as “a set of scripts or an independent program that connects to Internet Relay Chat as a client, and so appears to other IRC users as another user. Feel free to comment below or hop on the #LinuxAcademy channel on Freenode if you have any questions or need any help. We’re going to assume a basic knowledge of Python and functions for this post, and if you’ve taken our Introduction to Python on Linux course you should have all the knowledge you need for this basic IRC bot tutorial. ![]() Until he is ready to release his new Python content, however, I thought I might help tide you over with a fun Python project that I enjoy: Making an IRC bot.In this blog post, I’m going to cover how to create a basic IRC bot with Python 3. As we’ve previously announced, more is coming from our new instructor, Shiraz. Our students have made it very clear on multiple times how much they want more Python from us as well. We’ve blogged some about IRC before and talked about the #LinuxAcademy channel on the Freenode IRC network. ![]()
0 Comments
Leave a Reply. |