dolfies / discord.py-self

A fork of the popular discord.py for user accounts.
https://discordpy-self.rtfd.io/en/latest/
MIT License
718 stars 165 forks source link

change_presence afk=True is broken #658

Closed AdamSaketume26 closed 9 months ago

AdamSaketume26 commented 9 months ago

Summary

client.change_presence(afk=True) does not make you afk so you can get notifications on your phone

Reproduction Steps

run the code i shared

Code

import discord

client = discord.Client()

@client.event
async def on_ready():
    await client.change_presence(afk=True)

client.run("")

Expected Results

receive notifications on phone

Actual Results

no notifications on phone

System Information

Checklist

Additional Information

if you pass in a status to change to it the status change works but the afk does not. i even set my status offline in code but it still didnt work. maybe related is #654

old issue is #157 said to fix but it is broken again now

AdamSaketume26 commented 9 months ago

discordjs is also having issue maybe discord changed something https://github.com/aiko-chan-ai/discord.js-selfbot-v13/issues/1026

Sofianbrb commented 9 months ago

Any update? I just started my self bot, afk status worked for some time (about ten minutes) but now it's broken and I can't get it to work again. No mobile notifications and that's very annoying

dolfies commented 9 months ago

@AdamSaketume26 @Sofianbrb please check out the pull request and let me know if it solves the issue :)

Sofianbrb commented 9 months ago

@dolfies I've been using it since 30m after you posted it and everything so far is working great! Thanks 🫶🫶

dolfies commented 9 months ago

Leave a comment if you're still having issues with this