Skip to content
Advertisement

Discord.py Error when trying to edit embed after X seconds

So, after like an hour of trying I gave up. I was trying to make my embed get edited after 5 seconds but it did not work. I keep getting this error:

”Instance of ‘Embed’ has no ‘message’ member”

JavaScript

Pretty basic command but no clue what to do. Also do I need the ‘Import time’?

Advertisement

Answer

You’re trying to edit the embed instead of the actual posted message.

JavaScript

is referring to the embed. That embed doesn’t have an attribute called ‘message’, hence the error.

To fix this:

JavaScript
User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement