Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A simple gem for sending text to a MediaWiki RecentChanges IRC bot
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
LICENSE.txt
README.md
mw-irc-0.0.2.gem
mw-irc.gemspec

README.md

MediaWiki IRC Bot Client

This is a simple interface to send text to a MediaWiki IRC Bot. This is not an IRC bot. To actually do anything with this, you need to run a MediaWiki bot, see http://www.mediawiki.org/wiki/Manual:MediaWiki-Recent_Changes-IRCBot.

In reality, all this does is send a simple UDP packet to the host and port specified

Installation

gem install mw-irc

Basic Usage

require 'mw-irc'

bot = MWIRC::Bot.new :host => 'example.com', :port => 51666
bot.send "Hello from Ruby!"

or even simpler,

require 'mw-irc'
MWIRC::Bot.send "Hello from Ruby!", 'example.com', 51666

Running a Bot

See http://www.mediawiki.org/wiki/Manual:MediaWiki-Recent_Changes-IRCBot

License

See LICENSE.txt

Something went wrong with that request. Please try again.