#HipSpot
A HipChat plugin that allows you play tunes on Spotify.
##What It Does
Let's say you're in an office, and there's one computer running Spotify. Given that computer has Spotify open and the robut
binary are running, anyone on the company's HipChat can play songs on the central computer merely by typing !play song_name
in a HipChat room.
##How To Run It
Clone this repo.
$ git clone https://github.com/jpatel531/HipSpot.git
###Set Up The Bot
Firstly, create the Robot's account and invite him/her to your organisation.
In config.yml
, set up the variables the robot needs to run:
jid
: The Jabber ID given to the Robot's account by HipChat, which can be found under your account settings.password
: The password of the Robot's account.nick
: The name the Robot appears as.room
: The HipChat rooms the Robot appears in.mention_name
: The short name referring to the Robot. E.g. @bot
When that's done, type robut
to start the Robot. You should see it appear in HipChat.
###Bust A Move
In a HipChat room where the Bot is present, type:
!play this charming man
And you should see this:
And hear this:
If you play another song, it will queue.