Closed Feriman22 closed 1 year ago
Based on Discord help, I modified the ""ignoreBots": false" value on global and server side, but nothing changed.
I also tried it with different server.
I found a workaround using cURL requests instead of using this, so I close this issue.
@Feriman22 having same problem, what will be the cURL alternatives? could you please help me? thank you.
Hi @Garyguo2011, Sure. This cURL command can download the last 100 messages from a specific channel:
curl -s --location --request GET "https://discord.com/api/v9/channels/$channel_id/messages?limit=100" \
--header 'accept-language: en-US,en;q=0.9,it;q=0.8,de;q=0.7,es;q=0.6,pt;q=0.5' \
--header "authorization: $token" \
--header 'sec-ch-ua-platform: "macOS"' \
--header 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36' \
--header 'x-discord-locale: en-US' \
--header 'Cookie: $cookieid' >> "$curloutputfile"
Sorry, but I can't remember where the "$cookie" parameter located, but I guess it's a good start for you.
Hi,
I have configured the script in the settings.json file as below, the script runs but doesn't download anything, but at the same time new images are appearing on the specified number of channels.
settings.json
Output:
What might be the problem?
Thanks! Feriman