SimonLeclere / discord-easy-dashboard

💻 Simple module to facilitate the creation of dashboard using discord.js and express
https://www.npmjs.com/package/discord-easy-dashboard
71 stars 11 forks source link

Suggestions And More #7

Closed raph-exe closed 2 years ago

raph-exe commented 2 years ago

Suggestions

SimonLeclere commented 2 years ago

Added injectCSS option to customize the dashboard -> 4007024

You can already use a None option with a code like this one:

const getSelectorEntries = (client, guild) => guild.roles.cache.map(role => [role.id, role.name]).concat([['none', 'None']]);

Note that you must handle the "none" case in the setter and getter functions!

For the moment I have neither the time nor the skills to add animations and a dark mode but I will do it one day. If you are motivated you can also make a PR :)

SimonLeclere commented 2 years ago

You can now completely customize the dashboard via the injectCSS option or by creating a theme!