Sha256: 4b3a8e86f57450835c366c6ea53b529862c37c23f1d52e6b429b830229430547

Contents?: true

Size: 432 Bytes

Versions: 6

Compression:

Stored size: 432 Bytes

Contents

module Plugins
  class Noticeme
    include Cinch::Plugin
    include Cinch::Helpers

    # enable_acl

    self.plugin_name = 'Notice ME!'
    self.help        = 'Make sure zeta can see me!'

    # Regex
    match 'noticeme', method: :notice_me

    # Methods
    def notice_me(m)
      m.user.refresh
      m.user.notice "Refreshing #{m.user.nick}"
    end

  end

end

# AutoLoad
Bot.config.plugins.plugins.push Plugins::Noticeme

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
zetabot-2.1.2 lib/Zeta/plugins/noticeme.rb
zetabot-2.1.1 lib/Zeta/plugins/noticeme.rb
zetabot-2.1.0 lib/Zeta/plugins/noticeme.rb
zetabot-2.0.9 lib/Zeta/plugins/noticeme.rb
zetabot-2.0.8 lib/Zeta/plugins/noticeme.rb
zetabot-2.0.7 lib/Zeta/plugins/noticeme.rb