Home > Back-end >  How do I add timer in my bot like the other giveaway bots?
How do I add timer in my bot like the other giveaway bots?

Time:06-04

What I want is a timer in my bot giveaway embed message which like works when the bot is off and the timer still updates itself without showing that the message was edited.

So I am just showing what I have done in embed:

   const embed = new MessageEmbed();
   embed.setAuthor({
        name: `${message.guild.name} GiveAways!`,
        iconURL: `${message.guild.iconURL({ dynamic: true })}`
   });
   embed.setThumbnail(`${message.guild.iconURL({ dynamic: true })}`);
   embed.setTitle(`${title.toUpperCase()}`);
   embed.setColor("BLURPLE");
   embed.setDescription(
      `
      **React With            
  • Related