• Resolved chelminski

    (@chelminski)


    Hi
    I spent some time trying to configure the webhook extension myself, but with nest data, so that it would look nice for Discord messages. Unfortunately, I didn’t manage to do it. What is my goal?

    {
      "content": "test",
      "embeds": [
        {
          "description": "Text message. You can use Markdown here. *Italic* **bold** ...",
          "color": 16711680
        }
      ],
      "attachments": []
    }

    How am I trying to configure?

    What do I get after sending a webhook?

    I know that the webhook works because it sends data, but only the “content” key works correctly, the rest of the data was not read/sent correctly. How can I make this work?

    • This topic was modified 4 months, 3 weeks ago by chelminski.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Uncanny Automator

    (@uncannyautomator)

    Hi @chelminski ,

    One of our developers had a quick look and said you should make sure you add an index key so that it gets generated as an array. Here’s an example:

    embeds/0/description
    embeds/0/color

    See https://cln.sh/dHcK78n8

    Also make sure that the data format is set to JSON.

    Can you give those changes a try and let us know if that helps?

    Thanks

    Thread Starter chelminski

    (@chelminski)

    Thank you very much. It works!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.