Bots and regular users are not able to have links hidden in their text. It would be useful to have this to hide the jump_url's of messages (e.g., when you click the timestamp of the quoted message, you jump all the way to the quoted message).
We'd like to have the link embedded so that the quoted messages are more useful and we can calculate relative times accurately.
Next version of discord.py will have webhook support (webhooks have access to full Markdown, rather than the limited Markdown of regualr users)
Embeds are not an option because there is no fallback when link previews are turned off. We'll use Webhooks to send a message that will be viewable for people with/without link previews.
Should also address #18
Implementation Outline
For a bot that exists in a channel, find a webhook for that channel (or create one)
Format the message and send through the webhook:
the only real difference is that we will need to encode as "{"content":"output"}, where output is the current output.
Description
Bots and regular users are not able to have links hidden in their text. It would be useful to have this to hide the jump_url's of messages (e.g., when you click the timestamp of the quoted message, you jump all the way to the quoted message).
We'd like to have the link embedded so that the quoted messages are more useful and we can calculate relative times accurately.
Next version of discord.py will have webhook support (webhooks have access to full Markdown, rather than the limited Markdown of regualr users)
https://discordpy.readthedocs.io/en/rewrite/api.html#webhook-support
Embeds are not an option because there is no fallback when link previews are turned off. We'll use Webhooks to send a message that will be viewable for people with/without link previews.
Should also address #18
Implementation Outline
output
"}, whereoutput
is the current output.