Sha256: 8ecfb57417ce49af33abdbbb967b236b9391044b85856c3aabfa270d655ed9ed

Contents?: true

Size: 278 Bytes

Versions: 7

Compression:

Stored size: 278 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)

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
protonbot-0.3.2 lib/protonbot/core_plugin/commands/basic.rb
protonbot-0.3.1 lib/protonbot/core_plugin/commands/basic.rb
protonbot-0.3.0 lib/protonbot/core_plugin/commands/basic.rb
protonbot-0.2.7 lib/protonbot/core_plugin/commands/basic.rb
protonbot-0.2.6 lib/protonbot/core_plugin/commands/basic.rb
protonbot-0.2.5 lib/protonbot/core_plugin/commands/basic.rb
protonbot-0.2.4 lib/protonbot/core_plugin/commands/basic.rb