Skip to content
This repository has been archived by the owner on Dec 28, 2023. It is now read-only.

Embed reading in chat + text formatting #9

Closed
3 tasks done
Robin-Sch opened this issue Jun 21, 2020 · 10 comments
Closed
3 tasks done

Embed reading in chat + text formatting #9

Robin-Sch opened this issue Jun 21, 2020 · 10 comments
Assignees
Labels
enhancement New feature or request

Comments

@Robin-Sch
Copy link

Robin-Sch commented Jun 21, 2020

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)
@Notavone Notavone added the enhancement New feature or request label Jun 21, 2020
@Notavone
Copy link
Owner

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

@Robin-Sch
Copy link
Author

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

@Robin-Sch
Copy link
Author

Robin-Sch commented Jun 21, 2020

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.

@Notavone Notavone changed the title Embed show as "sent some file(s)" Embed reading in chat + text formating Jun 21, 2020
@Notavone Notavone changed the title Embed reading in chat + text formating Embed reading in chat + text formatting Jun 21, 2020
@Notavone
Copy link
Owner

Notavone commented Jun 21, 2020

text formatting is done
text formatting

@Robin-Sch
Copy link
Author

Nice

@Robin-Sch
Copy link
Author

Robin-Sch commented Jun 25, 2020

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

@Notavone Notavone self-assigned this Jun 25, 2020
@Notavone
Copy link
Owner

Notavone commented Jun 25, 2020

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>

@Robin-Sch
Copy link
Author

Robin-Sch commented Jun 25, 2020

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

@Notavone
Copy link
Owner

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

@Notavone
Copy link
Owner

Text formatting is done

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants