Skip to content

update the sign from sarah #235

@evanugarte

Description

@evanugarte

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

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!led and 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
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions