Discord get message shows attachments as empty

To get the URL of an image from a message using the GET MESSAGE


The Output shows attachment to be empty.

Welcome to the Make community!

For the bot to be able to read message content as well as attachments, you will need to create your own Discord integration in the Developer Portal with the relevant scopes.

Screenshot_2024-02-27_150220

You cannot use Make’s Discord integration.

2 Likes

Thank you for the response! Is there by any chance a guide/tutorial I can follow to setup this discord integration via developer portal? I tried following your screenshots and when pasting the OAuth link I got a Bad Gateway error because I am probably missing some important steps.

What I did was just Google “how to create discord bot”. I forgot the actual steps I did already.

What ‘module’ should I use? Or if I still use the Discord module, what would I select to get the attachment of a message using my new bot I added via Developer Portal? I.e., Make a API call, create a webhook, etc?

Same modules, but the connection has to point to your Discord integration, by expanding the new connection advanced settings

Screenshot_2024-02-27_210232

and inserting your bot stuff here to override Make’s default

Screenshot_2024-02-27_210225

2 Likes