Notavone/discord-panel

Embed reading in chat + text formatting

Robin-Sch opened this issue · 10 comments

Would be great if you add so we can actually read embeds (title, description, fields, footer, images, color)

  • Embed reading
  • Text formatting (from panel)
  • Text formatting (from discord)

Good idea, i'll try to make something but this ain't a priority

(Same as text formatting / mentions, would be nice too)

For a normal image, you can just make the anchor an img tag, for inline text boxes you can use the same background etc.. you did on the mention button. For italic, bold and uderline you can use the b / i / u tag. It doesn't has priority, but the text formatting is easy to add, and it would make it look a lot better.

text formatting is done
text formatting

Nice

And what about formatting in the messages which are sent? @Notavone

I won't be able to, unless someone finds a way to distinguish where formatting starts and ends in discord so i'll know which tags to close, if not it'll look like this :
***Discord* message with __formatting__** -> <b><em>Discord<em> message with <u>formatting<u><b>
or this :
***Discord* message with __formatting__** -> </b></em>Discord</em> message with </u>formatting</u></b>
where the expected result would be this :
***Discord* message with __formatting__** -> <b><em>Discord</em> message with <u>formatting</u></b>

How about you just split, then array[0] is not formatted, and array[1] is formatted if array[2] exists etc..

I'm taking some time off but i'll try to work on it when I come back

Text formatting is done