This is a follow-up question to discord.py-blank-messages?
This is my code:
@bot.event
async def on_message(message):
log = "\n[MESSAGE] [{0}] <{1}>\n----\n{2}\n----".format(message.guild, message.author, message.content)
print(log)
Which will print out something like this:
[MESSAGE] [Example_Server] <User#0001>
----
Lorem Ipsum
----
However, when embeds from bots are sent, this is the output:
[MESSAGE] [Example_Server] <Open Bump#1081>
----
----
I want to print the message that the bot sent in plain-text.
I have heard that this is because the bot is sending embeds, and that the log
cannot print embeds. Is there a way to print embeds (by converting them into plain text) to the console?