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