Answer the question
In order to leave comments, you need to log in
How to change a post by its id in Python?
The code:
emb = discord.Embed(title = 'Текст', color = 0xF1C232)
msg = client.get_guild(guild_id).get_channel(channel_id).fetch_message(message_id)
await msg.edit(embed = emb)
AttributeError: 'coroutine' object has no attribute 'edit'
Answer the question
In order to leave comments, you need to log in
if you want to automatically make a product new for some time, then bind the "New" flag to the difference between the product creation date and the current date. Accordingly, if there are less than some days, then a novelty, more - not a novelty.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question