Sha256: 203d9cc8a35205135c4d202d86d73b02324851920a3f9ca13cbe6821ec55fdf7
Contents?: true
Size: 490 Bytes
Versions: 5
Compression:
Stored size: 490 Bytes
Contents
core.help_add('basic', 'ping', 'ping', 'Ping!') cmd(cmd: 'ping') do |dat| dat.reply("#{dat[:nick]}: pong!") end.cooldown!(5) core.help_add('basic', 'echo', 'echo', 'Sends given message back') cmd(cmd: 'echo') do |dat| dat.reply("#{dat[:split].join(' ')}") end.cooldown!(5) core.help_add('basic', 'plugins', 'plugins', 'List of plugins') cmd(cmd: 'plugins') do |dat| dat.nreply("%BAvailable plugins:%N #{bot.plugins.map{|_,p|p.name + ' v' + p.version}.join(', ')}") end.cooldown!(10)
Version data entries
5 entries across 5 versions & 1 rubygems