Sha256: cd779cce3ded853eaf433e41d69e3bc7fef44a06bd1afa470dc06296d4163899

Contents?: true

Size: 76 Bytes

Versions: 20

Compression:

Stored size: 76 Bytes

Contents

hook(type: :ping) do |dat|
  dat[:plug].write_("PONG :#{dat[:server]}")
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
protonbot-0.3.7 lib/protonbot/core_plugin/hooks/ping.rb
protonbot-0.3.6 lib/protonbot/core_plugin/hooks/ping.rb
protonbot-0.3.5 lib/protonbot/core_plugin/hooks/ping.rb
protonbot-0.3.4 lib/protonbot/core_plugin/hooks/ping.rb
protonbot-0.3.3 lib/protonbot/core_plugin/hooks/ping.rb
protonbot-0.3.2 lib/protonbot/core_plugin/hooks/ping.rb
protonbot-0.3.1 lib/protonbot/core_plugin/hooks/ping.rb
protonbot-0.3.0 lib/protonbot/core_plugin/hooks/ping.rb
protonbot-0.2.7 lib/protonbot/core_plugin/hooks/ping.rb
protonbot-0.2.6 lib/protonbot/core_plugin/hooks/ping.rb
protonbot-0.2.5 lib/protonbot/core_plugin/hooks/ping.rb
protonbot-0.2.4 lib/protonbot/core_plugin/hooks/ping.rb
protonbot-0.2.3 lib/protonbot/core_plugin/hooks/ping.rb
protonbot-0.2.2 lib/protonbot/core_plugin/hooks/ping.rb
protonbot-0.2.1 lib/protonbot/core_plugin/hooks/ping.rb
protonbot-0.2.0 lib/protonbot/core_plugin/hooks/ping.rb
protonbot-0.1.3 lib/protonbot/core_plugin/hooks/ping.rb
protonbot-0.1.2 lib/protonbot/core_plugin/hooks/ping.rb
protonbot-0.1.1 lib/protonbot/core_plugin/hooks/ping.rb
protonbot-0.1.0 lib/protonbot/core_plugin/hooks/ping.rb