lib/bot.rb
def join(*args)
      connect unless @connection
      
      id = jid_from_args(*args)
      @room_clients[id] = Jabber::MUC::SimpleMUCClient.new(@connection)
      assign_bot_callback_procs(@room_clients[id])
      @room_clients[id].join(id)
    end
# Joins a room. Takes either a JID, or a room string and optionally a conference server
# & resource name.
Joins a room. Takes either a JID, or a room string and optionally a conference server
& resource name.
Joins a room . Takes either a JID or a room string and optionally a conference server & resource name .
def join(*args)
      connect unless @connection
      id = jid_from_args(*args)
      @room_clients[id] = Jabber::MUC::SimpleMUCClient.new(@connection)
      assign_bot_callback_procs(@room_clients[id])
      @room_clients[id].join(id)
    end
def join ( * args ) connect unless @connection id = jid_from_args ( * args ) @room_clients [ id ] = Jabber :: MUC :: SimpleMUCClient . new ( @connection ) assign_bot_callback_procs ( @room_clients [ id ] ) @room_clients [ id ] . join ( id ) end
Joins a room.
Joins a room .
args