Skip to content

Is there a way to get all friends #521

Answered by d-a-n-o-h
GZMOSV asked this question in Help
Discussion options

You must be logged in to vote

client.friends?

This works for me:

client = discord.Client(self_bot=True)

@client.event
async def on_message(message: discord.Message):
    if message.author == client.user and message.content.startswith("!f"):
        print(client.friends)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by GZMOSV
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants