"Why Don't Discord Components Work on Pipedream?"

This topic was automatically generated from Slack. You can find the original thread here.

Hey guys, does anyone know why discord components don’t work on pipedream? Everything else works for the webhook embed when i send from nodejs to discord, but the components just don’t work?

Can you tell me more about exactly which actions aren’t working for you? Can you share a screenshot of any errors you’re getting?

Of course, here it is:

It sends normally, and everything works, but the components just don’t connect/send with the message in discord

I’m sorry but I’m not following — what’s the issue?

Can you elaborate on what isn’t working?

Sure, it should look like this, but the components are absent. No dropdown or buttons, only the text

In the second picture you can see that the component is there at the bottom, but it is staying empty for some reason, even tho I have it filled :thinking_face:

I think it has something to do with pipedream not integrating it? It looks like in the second pic, that pipedream is bundling everything into the embed, and not seperating attachments, components, etc. Just saying it all in the embed? Maybe I’m just formatting it wrong?

Hello , I’m not sure I what you’d like to achieve also. Pipedream Discord Bot action provides 2 fields: Message and Embeds (1st image below). And the action handles those prop via this code.

If you’d like to have other customization to the message (.i.e attachment), you can use Discord Bot API via HTTP request/Node.js/Python (2nd image below). Or you can submit a new ticket for feature request via this link

Well, it’s as you said, pipedream only has the preset options for message and embed, so I guess that’s why it wasn’t working. I thought I could use components inside embeds :sweat_smile:. Would love to have more flexible features for the send message discord bot feature, so we can use components

Oh okay I see, this is referring to Message Components in Discord’s API Discord Developer Portal

Yea you are right it doesn’t look like our actions currently support that field on the message object. We’ll have to dig in and see how we can extend support. Can you add an issue here and tell us about your use case?

Well, simply put, I just want to add buttons when I send a message in discord with my bot :grin:

Currently I’ll have to write code from scratch to implement this with the current send message structure. This isn’t ideal for Noobie like myself :joy:

would you mind guiding me on how to send components with embeds? I’m having trouble integrating

I’m not personally familiar with Discord’s message components

It’s okay, I figured it out with http request :grin: do you know how I can reference previous steps in an http request vson body?

Can you elaborate? What are you trying to reference, and where are you trying to reference it?