Skip to content
This repository

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…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 LICENSE.txt
Octocat-spinner-32 README.md
Octocat-spinner-32 mw-irc-0.0.2.gem
Octocat-spinner-32 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.