-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
lets update the sign via the bot, to do test this locally, we need to both run the bot and the led sign, and connect the two together.
run the sign
- clone this repo https://github.com/SCE-Development/rpi-led-controller/tree/master
- run the sign with
docker-compose -f docker-compose.dev.yml up --build -d - make sure you can reach the sign at http://localhost:10000
update the sce bot
- make a new section in config.example and config.json like
{
"LED_SIGN": {
"LED_SIGN_URL": "http://host.docker.internal:10000",
"ALLOWED_ROLE_ID": 12345,
}
}- set ALLOWED_ROLE_ID to any role in the dev discord, for example
753160493165969419 - run the bot with
sce run discord
creating the command
- create a command like
s!ledand it takes some words as arguments. the words are then passed to the sign with a hardcoded color value. - how can we forward the data to our development sign server? didn't we have a fetch to do this already in some debug html code from this summer?
later on
- create a cool, colorful embed that would show what the sign is showing at the moment. can we add a color to the text? is that possible?
example embed generator is here https://embed.dan.onl/
Metadata
Metadata
Assignees
Labels
No labels