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

MrBrahm picture MrBrahm  路  3Comments

ghost picture ghost  路  3Comments

Spyder-exe picture Spyder-exe  路  3Comments

j0hnmeow picture j0hnmeow  路  3Comments

PicklesJars picture PicklesJars  路  3Comments