discord py edit message

45

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)
@client.event
async def on_message(message):
	embeds = message.embeds
    for embed in embeds:
        print(embed.to_dict())

Comments

Submit
0 Comments