Skip to content

Commit

Permalink
added default creds file to make setting it up more intuitive
Browse files Browse the repository at this point in the history
  • Loading branch information
0xjmux committed Mar 3, 2022
1 parent e323694 commit 7177674
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ Discord bot to alert people in the IEEE UCI Discord when the room is open
### Usage
Flip switch "On" to send a discord message alerting people the room is open. Flip switch "Off" to send a message alerting people that the room is closed.

### Installation & Configuration
* Extract & Install on pi. Install `requests` library through pip.
* You need to rename `creds_CHANGEME.py` to `_creds_.py` and add your discord webhook to the `WEBHOOK_URL` field in the file.



### Indicator Light Behavior
* When operating correctly, only one light should be on at a time. The lights will ONLY change once a message has successfully been posted to discord.
Expand Down
6 changes: 6 additions & 0 deletions creds_CHANGEME.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env python3

# This is the default credential file in the github repo.
# you need to rename this file to "_creds_.py" and then add your discord webhook URL below.

WEBHOOK_URL = ""

0 comments on commit 7177674

Please sign in to comment.