mirror of
https://github.com/Art-Portal/April.git
synced 2024-12-25 19:04:16 +01:00
pain
This commit is contained in:
parent
5ca6cbcb2e
commit
357be72c14
@ -5,7 +5,7 @@ export default {
|
||||
async execute(interaction){
|
||||
await interaction.deferReply();
|
||||
|
||||
palette = await generateRandomPalette();
|
||||
const palette = await generateRandomPalette();
|
||||
|
||||
const imageBuffer = await createPaletteImage(palette);
|
||||
|
||||
@ -22,7 +22,7 @@ async function generateRandomPalette() {
|
||||
|
||||
// Générateur de couleurs harmonieuses (complémentaires)
|
||||
|
||||
baseColor = Math.floor(Math.random() * 16777215); // Couleur de base aléatoire
|
||||
const baseColor = Math.floor(Math.random() * 16777215); // Couleur de base aléatoire
|
||||
|
||||
for (let i = 0; i < numColors; i++) {
|
||||
// Random variations in saturation and brightness
|
||||
|
Loading…
Reference in New Issue
Block a user