SanjaySunil / BetterDiscordPanel

đź’¬ Discord Messaging Panel that allows you to message inside of a bot!
https://betterdiscordpanel.github.io/
GNU General Public License v3.0
657 stars 234 forks source link

[BUG]: Requests to Discord has been blocked #94

Closed KyleOccidental closed 2 years ago

KyleOccidental commented 2 years ago

How major is the bug from 1 - 10

What type of bug is it?

Steps required to reproduce the bug

Screenshot (In most cases required)

knabb215 commented 2 years ago

This appears to be caused by a CORS policy. See the attached screencap.

msedge_gE8jMHf8uB

kyllian-vssr commented 2 years ago

Hello.

I have the exactly SAME error. image

Discord blocked webrequests ? I'm not developper, just using this for reading messages from a web panel for anonymous support solutions.

knabb215 commented 2 years ago

@AlzheTV It would appear so. It makes me wonder what other changes occurred at Discord overnight. This worked fine yesterday.

reed-noc commented 2 years ago

I think Discord patched it

knabb215 commented 2 years ago

@reed-noc I wonder how that will affect bots with similar functionality to BDP?

Codexshield commented 2 years ago

So he solved the problem?

Code19Master commented 2 years ago

The Same Problem is coming for me, I would request the developer to fix it as soon as possible. @SanjaySunil

sarptekbas commented 2 years ago

Seems like Discord patched it. Discord now only allows requests from their own domains / APIs.

Codexshield commented 2 years ago

the problem is resolved ?

sarptekbas commented 2 years ago

the problem is resolved ?

No. Discord changed, not totally, how their servers get requests. From now on Discord will answer to the requests that are only from discord.com and discordapp.com.

Codexshield commented 2 years ago

le problème est résolu ?

Non. Discord a changé, pas totalement, la façon dont leurs serveurs reçoivent les requêtes. Désormais, Discord répondra aux demandes qui proviennent uniquement de discord.com et discordapp.com.

So we won’t be able to use the site anymore?

sarptekbas commented 2 years ago

le problème est résolu ?

Non. Discord a changé, pas totalement, la façon dont leurs serveurs reçoivent les requêtes. Désormais, Discord répondra aux demandes qui proviennent uniquement de discord.com et discordapp.com.

So we won’t be able to use the site anymore?

Until there is a way to bypass this CORS policy, no, sadly we can't use BetterDiscordPanel anymore.

Codexshield commented 2 years ago

Is there a site like this? To use our bot on a server?

sarptekbas commented 2 years ago

Is there a site like this?

To use our bot on a server?

I don't know if you understood what I said, there is no way in hell to use BDP or any other bot client anymore.

SanjaySunil commented 2 years ago

I'm afraid that BetterDiscordPanel has been patched. Discord only allows requests from their own domains and APIs. I will keep looking into solutions, but for now, BetterDiscordPanel cannot be used anymore.

SanjaySunil commented 2 years ago

Please see https://github.com/SanjaySunil/BetterDiscordPanel/blob/master/docs/prerequisites/prerequisites.md.