Discord.py Получить список членов гильдии
guild = client.get_guild(ID)
memberList = guild.members
StarbuckBarista
guild = client.get_guild(ID)
memberList = guild.members
await message.edit(content="newcontent")
#for embed you need to create a new one
await message.edit(embed=newembed)
#edit text
await message.edit(content="new content")
#edit embed
await message.edit(content="new content", embed=new_embed)
@client.event
async def on_message(message):
embeds = message.embeds
for embed in embeds:
print(embed.to_dict())