Skip to content
This repository has been archived by the owner on Mar 25, 2020. It is now read-only.

How to get file and images from messages. #297

Open
Nycrera opened this issue Oct 14, 2018 · 1 comment
Open

How to get file and images from messages. #297

Nycrera opened this issue Oct 14, 2018 · 1 comment

Comments

@Nycrera
Copy link

Nycrera commented Oct 14, 2018

So basically I looked a lot in the documentation and also into the code itself but can't find any functionality, to receive image or file uploaded by discord users in the server.
I tried to console.log(message) in the 'message' event. It's just got the text comment that I sent to channel with an image.

Thank you.

@Peacerekam
Copy link

event.d.attachments[i].url

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants