Asgarrrr / Luna

An adorable discord bot fully customizable created in javascript, using Discord.js and mongoDB that is constantly growing !
https://lunadoc.vercel.app/
GNU General Public License v3.0
24 stars 3 forks source link

Bot "impossessing" himself of the profile picture #28

Closed paolosasso closed 3 years ago

paolosasso commented 3 years ago

Every time I start it up, he changes the profile pic

Asgarrrr commented 3 years ago

Hello,

If you want to use a custom profile picture, I advise you to go to

Events/ready.js

And delete lines 44 to 47 ( these lines :)

client.user.setAvatar("resources/Assets/Faces/Icon.png")
   .catch((error) => {
      console.error(error);
   });
paolosasso commented 3 years ago

Thanks!!!

Il dom 23 mag 2021, 13:13 Jérémy Caruelle @.***> ha scritto:

Hello,

If you want to use a custom profile picture, I advise you to go to

Events/ready.js

And delete lines 44 to 47 ( these lines :)

client.user.setAvatar("resources/Assets/Faces/Icon.png") .catch((error) => { console.error(error); });

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Asgarrrr/Luna/issues/28#issuecomment-846545514, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQKSQGTWJMLT6ZMQSPOKGB3TPDPMBANCNFSM45LTE4YA .