neplextech/canvacord

How can I delete the slightly gray background

efecanxrd opened this issue · 4 comments

How can I delete the slightly gray background??

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()

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.

It is not possible to remove discriminator

I changed the module main file and left the discriminator ' '