Class: WellcomePlugin
- Inherits:
-
CrazyDoll::Plugin
- Object
- CrazyDoll::Plugin
- WellcomePlugin
- Defined in:
- lib/crazy_doll/welcome_plugin.rb
Instance Attribute Summary
Attributes inherited from CrazyDoll::Plugin
Instance Method Summary collapse
Methods inherited from CrazyDoll::Plugin
#c, config, #config, #current_channel, #current_nick, #custom_messages, #custom_messages_chan, #custom_messages_priv, #get, #initialize, #join, #parse_message, #post, #register_events, #register_keys, #reply, #reply_to, #reply_to_a_channel?, #say, #talked_with_me?
Constructor Details
This class inherits a constructor from CrazyDoll::Plugin
Instance Method Details
#get_join ⇒ Object
9 10 11 12 13 |
# File 'lib/crazy_doll/welcome_plugin.rb', line 9 def get_join channel = opts. post PRIVMSG, channel, "#{opts.from.nick}, #{config[:messages][channel]}" if config[:messages][channel] and opts.from.nick != @config[:nick][:current_nick][0] end |