neplextech / canvacord

Easily generate images using react-like components in nodejs. Canvacord is suitable for creating dynamic images such as social media posts, greetings cards, memes, etc. It is also possible to create your own templates and builders to generate images. You are only limited by your imagination.
https://canvacord.neplex.dev
GNU General Public License v3.0
257 stars 74 forks source link

Freedom in setDiscriminator usage #143

Closed yash1441 closed 1 year ago

yash1441 commented 2 years ago

Would be really helpful if setDiscriminator had more freedom. Custom length, alphanumeric, etc.

twlite commented 1 year ago

https://github.com/neplextech/canvacord/releases/tag/v5.4.9

yash1441 commented 1 year ago

Looks great!

Although, I was looking more into the possibility to set the discriminator like "#abc3d" and not just "abc3d" which attaches "@" automatically to it. This will allow more use cases to the library apart from discord usernames, for example my use case is for Valorant rank card which have usernames like "ABCD1234#A1B2".

twlite commented 1 year ago

Looks great!

Although, I was looking more into the possibility to set the discriminator like "#abc3d" and not just "abc3d" which attaches "@" automatically to it. This will allow more use cases to the library apart from discord usernames, for example my use case is for Valorant rank card which have usernames like "ABCD1234#A1B2".

sure, next version

twlite commented 10 months ago

please migrate to v6 for full customization