Closed destroyace closed 3 years ago
It turns out that when you connect the status is overwritten, and the new client becomes discord.py-self, you can set your status with
Ah, makes sense. Of course, it's cool to do it manually, but I feel like maybe the library should directly implement this? Get token's activity before startup and then set to it upon starting?
Setting the status in IDENTIFY doesn't work for users. This was the only way.
I'll push a fix that only makes the request if you actually pass a status.
Fixed in the latest development push.
Summary
It appears that starting a selfbot changes my status to Online
Reproduction Steps
How did you make it happen?
Code
Relevant code that shows the bug.
Expected Results
My current status is not changed from 'Do not Disturb', 'Idle', etc. to 'Online'
Actual Results
The following error is sent (commands work):
My status is changed to Online
System Info
Run
python -m discord --version
and paste the information below.Checklist
Let's make sure this issue is valid!
Additional Information
> MY_TOKEN refers to an actual token.