Sha256: 83aba28c180464baa81f86da638a412d63eff6e40a0edee97095fb13037d885f
Contents?: true
Size: 406 Bytes
Versions: 37
Compression:
Stored size: 406 Bytes
Contents
module Plugins class Whois include Cinch::Plugin include Cinch::Helpers # enable_acl self.plugin_name = 'Whois' self.help = 'Resync your user' # Regex match 'whois', method: :do_whois # Methods def do_whois(m) m.user.refresh m.user.notice "Refreshing #{m.user.nick}" end end end # AutoLoad Bot.config.plugins.plugins.push Plugins::Whois
Version data entries
37 entries across 37 versions & 1 rubygems