Discord.py: how to unfriend a discord friend (selfbot)

Created on 15 Apr 2020  路  2Comments  路  Source: Rapptz/discord.py

how to unfriend discord friend?

i tried this but not working.

for user in bot.user.friends:
        print(user.name+"#"+user.discriminator)
        await user.remove()
question

All 2 comments

Just don't use a self-bot. It's against ToS

You're looking for user.remove_friend

Was this page helpful?
0 / 5 - 0 ratings

Related issues

TunaHobby picture TunaHobby  路  3Comments

danshat picture danshat  路  3Comments

Spyder-exe picture Spyder-exe  路  3Comments

adhoc92 picture adhoc92  路  3Comments

tairabiteru picture tairabiteru  路  3Comments