Open oskarbukovsky opened 2 months ago
could you give me raw url?
Examples:
The last is a result of /chatimage url https://media.discordapp.net/attachments/1243302804802633728/1263505132276940860/image.png?ex=669a7a5a&is=669928da&hm=9ee4b06fc189006b7a81e9730649a4cea750cc87d12149ec18008466c5431512&=&format=webp&quality=lossless
minecraft version is ?
also,we don't support .webp
image
Minecraft 1.20.1 Forge 47.3.1 ChatImage 1.2.4+1.20.1+forge
Ok, but one is .jpg
, also why not?
now, not support url with parameters
a better way is to use CICode
maybe it has a bug
Any chance to adding suport for parameters to mod? We are using discordsrv and it will be super cool to not switch windows and enjoy image content ingame.
It is very difficult to determine the valid length of the url when the url with parameters is in a sentence.
A better way is for discordsrv to support CICode usage
Why just not to look at url as one word from http/etc. and try first if it is a valid image response else use current behavior?
I'll try to make feature suggestion od discordsrv github, but i think not that much people will use CICode functionality. So probably time to find some workaround on discord to download and upload images elsewhere and send link to them into channel as bot, idk :(
//Why am i stupid, it will not help on discordsrv supporting cicode
I'll try to implement a url with parameters
After 2 days learning discordjs from scratch, it's working what i needed 😅 Such a pain, but good excuse to learn something new
It looks like chatimage ignore parameters in url and for discord images it doesnt work