#??

1 messages · Page 1 of 1 (latest)

small quail
hushed cipher
#

?

small quail
#

What is the main function of this?

#

What is it supposed to do?

ornate rock
#

this doesn't makes any sense

hushed cipher
#

doing it in a every minute cron

#

when i comment out the .setColor(..) it works fine

small quail
#

Mate. I have no Idea what the hell that is supposed to do, Even after you tried to explain I still don't understand.

hushed cipher
#
    console.log(1);
    const message = (await channel.messages.fetch()).first();
    const color = {
      Delta: "RED",
      Alpha: "BLUE",
      Charlie: "GREEN",
      Bravo: "PINK",
    };//the pink worked once//its bravo rn back to delta//why is it leadin faction if it will lose all its points after?
    console.log(color[lead]);
    console.log(2);
    //embed.setColor(color[lead]);//no well it worked once, well the names are correct and this is fine.. so why the hell
    console.log("embedCheck", 1);
    embed.setImage("https://i.gifer.com/BTCK.gif");
    console.log("embedCheck", 2);
    embed.setTitle(`${lead} Faction are leading`);
    console.log("embedCheck", 3);
    embed.addField(`Weekly Perks`, `- Increased RNG on all crates`);
    console.log("embedCheck", 4);
    embed.setDescription(
      `${lead} faction dominated the realm and are now leading.`
    );
small quail
#

This is giving me a headache.

hushed cipher
#

it is supposed to set the color depending on the current leading faction basically