How can I delete the slightly gray background
efecanxrd opened this issue · 4 comments
efecanxrd commented
How can I delete the slightly gray background??
twlite commented
const rank = new canvacord.Rank()
.setAvatar(img)
.setCurrentXP(userData.xp)
.setRequiredXP(userData.requiredXP)
.setStatus("dnd")
.setProgressBar("#FFFFFF", "COLOR")
.setUsername("Snowflake")
.setDiscriminator("0007");
// add this line
rank.data.overlay.display = false;
// other codes
rank.build()
efecanxrd commented
thanks. It worked. I have a question too. How can I remove the discriminator. When I remove it from project, or make it blank. It gives error.
twlite commented
It is not possible to remove discriminator
efecanxrd commented
I changed the module main file and left the discriminator ' '