No commit activity in last 3 years
No release in over 3 years
A Cinch IRC plugin for getting channel lists
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Runtime

~> 2.0
 Project Readme

Cinch Channel List

A Cinch IRC plugin to get channel lists -- let your bot execute /LIST. Use with caution! Very busy IRC servers will flood you with their prolific channel list!

Requirements

  • cinch >= 2.0.0
  • ruby >= 1.9.3

Use

Require cinch_channel_list in your Cinch IRC bot. This plugin uses handler dispatch calls for invocation and return. You'll need to dispatch to :get_channel_list to start the /LIST and provide a handler for :channel_list_received. When the :channel_list_received handler is invoked, it will be passed the source message and a hash of the available channels. Hash format is:

{ :channel_name => { :user_count, :topic } }

See examples/list_channels.rb