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

Version Path
zetabot-2.0.6 lib/Zeta/plugins/whois.rb
zetabot-2.0.5 lib/Zeta/plugins/whois.rb
zetabot-2.0.4 lib/Zeta/plugins/whois.rb
zetabot-2.0.3 lib/Zeta/plugins/whois.rb
zetabot-2.0.2 lib/Zeta/plugins/whois.rb
zetabot-2.0.1 lib/Zeta/plugins/whois.rb
zetabot-2.0.0 lib/Zeta/plugins/whois.rb
zetabot-1.1.0 lib/Zeta/plugins/whois.rb
zetabot-1.0.7 lib/Zeta/plugins/whois.rb
zetabot-1.0.6 lib/Zeta/plugins/whois.rb
zetabot-1.0.5 lib/Zeta/plugins/whois.rb
zetabot-1.0.4 lib/Zeta/plugins/whois.rb
zetabot-1.0.3 lib/Zeta/plugins/whois.rb
zetabot-1.0.2 lib/Zeta/plugins/whois.rb
zetabot-1.0.1 lib/Zeta/plugins/whois.rb
zetabot-1.0.0 lib/Zeta/plugins/whois.rb
zetabot-0.0.22 lib/Zeta/plugins/whois.rb
zetabot-0.0.21 lib/Zeta/plugins/whois.rb
zetabot-0.0.19 lib/Zeta/plugins/whois.rb
zetabot-0.0.18 lib/Zeta/plugins/whois.rb