core-hacked / Discondelete

Discord self-bot to delete dm's or purge all messages from a guild.
MIT License
9 stars 5 forks source link

Fix the script (Read Description) #6

Closed core-hacked closed 3 months ago

core-hacked commented 1 year ago

Problems:

While intents are not a big problem, the entire self-bot has somehow stopped working, returning the above errors. It returns these errors for all the tokens I tried. I even tried using Selfcord (discord.py-self) and still the same problems.

PR's welcome.

What happens now?

Well the project will be put on hold until I or someone else can resolve this issue.

--

5

SparrowOchon commented 3 months ago

discord.py doesn't support self-botting as such is flagging your token as invalid. Switch to discord.py-self. No need to specify intents that also is only for official bot tokens. Doing so will allow this to work again.

The reason it most likely failed before is because selfcord hijacks the discord import if you had both installed chances are discord.py was still the import being used.