N
N
Nyxoy2021-11-22 18:58:08
Python
Nyxoy, 2021-11-22 18:58:08

Displaying the list of participants in discord.py, how to do it?

you need the bot to display a list of members by command

example:

me: .members
Bot: List of members (Server name)
(well, here are the members)
valya # 1111 petya # 2414

pierced this code does not work

@client.command()
async def member(ctx):
    await ctx.send(f'Список участников сервера\n{member}')


discord.py library

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question