Control your Lifx Smart Lights via a Discord Bot.
- First off clone the repository using
git
or download directly off of GitHub. - Open the
.env.sample
and configure it as needed by filling out all fields. - Rename the file to
.env
- Next, open a terminal into the root directory of the bot and run the following commands:
$ yarn install
$ yarn build
$ yarn start
- Deploy the commands to a specific guild:
$ yarn deploy:guild
- Or if you want the commands accesible from any guild globally
$ yarn deploy:global
I've got a lot of future plans of features and updates for this project.. let's hope I actually get to them and not abandon them like every single other side-project! If I do, then you can gladly add the feature on a fork of this repository and create a pull-request. Boom! Now you have something new to add to your portfolio or resume :o
- Web-Based Dashboard in either Express/EJS or Vue w/ Express backend
- Light Modes (Police, Smooth RGB, Flashing, ect)
- Per light commands?
- Get a light's current power status
Huge shout out the the following people/organizations for making Discord Light Controller possible with my limited knowledge on the new v13/v14 Discord JS Library!
Tazio and his legacy Discord Bot called "Lyfe" also contributed heavily to the idea and execution of this project. The bot had a basic Lifx Controller along with other great commands!