Discord botundaki hata

Bende link atmıyor bana, siz şunu yazmadınız mı?
JavaScript:
if (msg.content == "!gif thor-ban"){
      const embed = new Discord.MessageEmbed()
      .setColor('RANDOM')

      .setImage("https://thumbs.gfycat.com/AssuredAcrobaticAchillestang-size_restricted.gif")



      msg.channel.send(embed);
}
Başka kod olmasın, sadece .setImage kalsın bu koddaki gibi.
 
Hocam terminale gelip refresh yazar mısınız?
PS C:\Users\Hp\Desktop\MASAÜSTÜ\Korax> refresh refresh : The term 'refresh' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the nam e, or if a path was included, verify that the path is correct and try again. At line:1 char:1 + refresh + ~~~~~~~ + CategoryInfo : ObjectNotFound: (refresh:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
Böyle bir hata veriyor.
 

Hocam arkadaşın attığı kod ile değiştirdiniz mi kodun şuan ki halini atar mısınız?
 
Hocam arkadaşın attığı kod ile değiştirdiniz mi kodun şuan ki halini atar mısınız?
Hatanın sebebi açık, node.js'de refresh diye bir komut yok . Biz Ctrl+C yapıyoruz hocam.
 
Bu siteyi kullanmak için çerezler gereklidir. Siteyi kullanmaya devam etmek için çerezleri kabul etmelisiniz. Daha Fazlasını Öğren.…