discord-image-downloader-go icon indicating copy to clipboard operation
discord-image-downloader-go copied to clipboard

does not recognise .mov files

Open mikosalex opened this issue 5 years ago • 1 comments

it seems like the code does not recognise .mov files as potential files to download. everytime a .mov file is sent into a listed channel, the console prompts "No image, video, or audio found at...."

rest works perfectly fine.

mikosalex avatar Nov 17 '20 01:11 mikosalex

http.DetectContentType assumes .mov is an application rather than video, so the bot ignores it.

I made a fork of this project and it accounts for that, if that's something you're needing.

get-got avatar Nov 25 '20 00:11 get-got