|
General Details
|
|
Python
|
|
Posted 283 Days Ago
|
|
672 Views
|
|
Received 2 Ratings
|
|
Python IRC chatbot
Description
Well I haven't posted a source code (or any code for that matter) so I decided that It was about time.
This is a simple IRC chatbot which I have written in python, It utilises a data file so that it can have an infinate amount of information on different keywords and you can add them "on the fly".
also by manually editing the data file you can have multiple keywords pointing to the same information.
anyway the command list is as follows
admins can
!mute //mutes the bot
!unmute //unmutes the bot
!adddata keyword description //adds data to the data file
!addadmin nick //makes another person an admin
!leave channel //makes the bot leave a specific channel
!join channel // makes the bot join a specific channel
anyone can
!about keyword //searches data file for information on the keyword
Technical
Should work "out of the box" but I made some alterations before posting it and I havent tested it officially.
Source Code
Comments
| Please login to post comments. |
|
|
Thanks, didn't realize how easy it was to do it in python.
Python is the programmer's swiss army knife ;)
|
|
|
Neat stuff man! I might try this out later if I get bored.
|
More "Python" Source Codes By This Author
Recently Posted "Python" Source Codes
Recently Rated "Python" Source Codes
|