Sha256: 1d1ff9db959019d22c22dc319029c70196b72044c5e098acbe0447452e76b6b1
Contents?: true
Size: 369 Bytes
Versions: 12
Compression:
Stored size: 369 Bytes
Contents
hook(type: :ctcp, cmd: 'VERSION') do |dat| dat[:plug].nctcp(dat[:nick], %(VERSION ProtonBot v#{ProtonBot::VERSION} on Ruby ) + %(v#{RUBY_VERSION}.#{RUBY_PATCHLEVEL}/#{RUBY_PLATFORM} and Heliodor ) + %(v#{Gem.loaded_specs['heliodor'].version.version})) end hook(type: :ctcp, cmd: 'PING') do |dat| dat[:plug].nctcp(dat[:nick], %(PING #{dat[:split][0]})) end
Version data entries
12 entries across 12 versions & 1 rubygems