Sha256: ecdc0908ca3424da33b17fe60995ffeb27df15ce46fede76adddc2d74d907ec0

Contents?: true

Size: 176 Bytes

Versions: 20

Compression:

Stored size: 176 Bytes

Contents

hook(type: :code, code: @numeric::WELCOME) do |dat|
  if dat[:plug].conf['autojoin']
    dat[:plug].conf['autojoin'].map do |e|
      dat[:plug].join(e.to_s)
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

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