spencermacca / LIFXBot

💡 - Control your smart lights via a Discord bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LIFXBot

💡 - Control your smart lights via a Discord bot

Required Dependencies

  • Discord.py Nodule v1.0 or later
  • Python v3.0 or later
  • Requests Module

Setup

To set this up, you will need to generate a LIFX Cloud token and create a bot. If you do not know how to do this, you simply are not advanced enough to use this bot, however if you really want to give it a crack, look at this guide on how to make a discord bot. To create a LIFX token, go to LIFX Cloud and sign in with your LIFX account. Click Generate new token and give it a name, then click Generate. Now copy the token's and place them in their respective fields in the main.py file.

Other Information

The night and morning themes will not work unless you create a theme and switch the scene variable in each command to the ID of your scene. I'm planning to switch this to a more reliable option in future.

About

💡 - Control your smart lights via a Discord bot

License:MIT License


Languages

Language:Python 100.0%