0.0
No commit activity in last 3 years
No release in over 3 years
Automatically apply a mode to a user based on nick!user@host when they join a channel. Also has commands to add and delete users, and apply mode to anyone that joins a channel.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 4.31
 Project Readme

Automode Plugin for Cinch

Auto op/halfop/voice users based on nick!user@host or apply the mode to an entire channel

Usage

Gem Version

install the gem with gem install Cinch-Automode, and add it to your bot like so:

require 'cinch'
require 'cinch/plugins/automode'

bot = Cinch::Bot.new do
  configure do |c|
    c.server = 'your server'
    c.nick = 'your nick'
    c.realname = 'your realname'
    c.user = 'your user'
    c.channels = ['#yourchannel']
    c.plugins.plugins = [Cinch::Plugins::Automode]
  end
end

bot.start

Contained Commands

[automode (on|off)]

Enable/disable the plugin in the current channel. Default is off.

[add (op|halfop|voice) nick user@host]

Add nick with user@host to the auto-(op|halfop|voice) list

[del (op|halfop|voice) nick user@host]

Delete nick with user@host from the auto-(op|halfop|voice) list

[add channel (op|halfop|voice)]

Add the entire channel to the list, so anyone who joins gets the mode.

[del channel (op|halfop|voice)]

Delete the channel from the mode list.

License

Licensed under The MIT License (MIT)

Please see LICENSE