-
Notifications
You must be signed in to change notification settings - Fork 27
Join rooms after connect? #5
Comments
Good question! This isn't really possible at the moment, but it definitely should be. I will add join/part methods to |
The additions to the main gem are done. I will be releasing a new version soon, at which point I will take care of the adapter side. |
Awesome. ✨ |
Completed by daea5e4. |
How do I go on adding Lita to a HipChat room with / without editing config file ? |
That's the correct configuration option. It would look something like this: config.adapter.rooms = %w(12345_myroom, 67890_anotherroom) To make Lita join a room at runtime, send it the command "join 12345_myroom". Rooms joined this way are not remembered, so Lita won't automatically join them again if the process is restarted. |
Thanks the bot is able to join room using above config.adapter.rooms syntax. Still on-the-fly joining of room is not happening. I tried all possible options .. like being in the room and issuing join command.Tried by being on 1-on-1 chat with the bot too. I see that the command is being passed to the bot in Debug mode. |
Curious... Could you open a new issue with repro steps? |
Sure thing. |
A hopefully quick question: what's the easiest way (your recommendation) to hook into Lita such that you can say something like the following after boot -
@lita join "My Room"
It'd be nice to be able to join/part dynamically and just have the
lita_config.rb
represent 'steady state' of what should happen after a restart.Thanks for all your work on Lita to date! 🤘
The text was updated successfully, but these errors were encountered: