Sha256: 26f0702624b2d6facd1333d02215e5070000ce35cc6fbb4a89c8af7624f7c6db
Contents?: true
Size: 586 Bytes
Versions: 43
Compression:
Stored size: 586 Bytes
Contents
module Plugins class DBZ include Cinch::Plugin include Cinch::Helpers enable_acl self.plugin_name = 'DragonBall Z!' self.help = "It's Over Nine Thousand!" # Regex match /(^9000$|overninethousand|ninethousand|Over\ Nine\ Thousand|Over\ 9000)/, use_prefix: false, method: :randomquote # Initialization def initialize(*args) @sample = load_locale('dbz') super end # Methods def randomquote(msg) msg.reply @sample['over9k'].sample end end end # AutoLoad Bot.config.plugins.plugins.push Plugins::DBZ
Version data entries
43 entries across 43 versions & 1 rubygems