Closed ezrael-git closed 2 years ago
What version are you using? If you aren't, try the rebase branch (note it's experimental and does have issues).
What version are you using? If you aren't, try the rebase branch (note it's experimental and does have issues).
I tried using rebase but I'm getting the same error. Weird.
I believe I found the issue. Pushing a commit to rebase tonight.
Scratch that, I was unable to reproduce on rebase. I was able to DM multiple users, even ones I've never interacted before.
Strange. I used another stack of accounts and they seem to be able to DM users just fine. Thanks for the patience, closing the issue...
Summary
Basically, whenever I try to send a private message to a user, it throws the 401 Forbidden error and says I need to verify my account to perform the action. However, I can send messages through the official client using the same account without any problems.
Reproduction Steps
I sent two or three DMs to make sure the library works and that led me here. After those DMs I could no longer send any private messages, which is weird since I didn't even spam anything or do it excessively so I have no idea how Discord figured it out. I'm sure it's the fork's fault since I can still send messages through the official client, using the same account.
Code
Expected Results
A DM is supposed to be sent.
Actual Results
I get the 401 Forbidden error. Here's the full error:
discord.ext.commands.errors.CommandInvokeError: Command raised an exception: Forbidden: 403 Forbidden (error code: 40002): You need to verify your account in order to perform this action.
System Information
-
Checklist
Additional Information
-