Discord Attachments Link
1
Well if you would like to get the attachments from a Discord message, you can do it by the following way:
attachements = message.attachments
But it cannot get attachments which are sent with a link.
Like the following links:
https://media.discordapp.net/attachments/722437402685341766/801262293693890580/banner.gif
https://cdn.discordapp.com/attachments/281595941746900992/710992416039108748/unknown.png(I got it from a spam report)
They already have a different starting url.
How to extract them from the message?
python python-3.x discord.py re
Add a comment
|