Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display the acronym when a server has no icon #15

Open
pedrofracassi opened this issue Aug 21, 2020 · 2 comments
Open

Display the acronym when a server has no icon #15

pedrofracassi opened this issue Aug 21, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@pedrofracassi
Copy link
Member

Discord displays a text acronym for invites without icons, and we shoud mimic that behavior.

Discord

image

invidget

image

@pedrofracassi pedrofracassi added the enhancement New feature or request label Aug 21, 2020
@Doges
Copy link
Member

Doges commented Aug 21, 2020

k, what we can use?

@pedrofracassi
Copy link
Member Author

discord.js has a function that turns a guild name into an acronym. It should work just fine. It'd then be a matter of resizing it correctly to fit the square and rendering it there.

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

No branches or pull requests

2 participants