You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Create the backupbackup.create(message.guild,{jsonBeautify: true}).catch(console.error)
It happens:
TypeError: guild.iconURL is not a function
at /home/user/projet/node_modules/discord-backup/lib/index.js:147:44
at step (/home/user/projet/node_modules/discord-backup/lib/index.js:33:23)
at Object.next (/home/user/projet/node_modules/discord-backup/lib/index.js:14:53)
at /home/user/projet/node_modules/discord-backup/lib/index.js:8:71
at new Promise (<anonymous>)
at __awaiter (/home/user/projet/node_modules/discord-backup/lib/index.js:4:12)
at /home/user/projet/node_modules/discord-backup/lib/index.js:119:83
at new Promise (<anonymous>)
at /home/user/projet/node_modules/discord-backup/lib/index.js:119:35
at step (/home/user/projet/node_modules/discord-backup/lib/index.js:33:23)
But
console.log(message.guild.iconURL);
The funny thing is that there is an image in message.guild.iconURL, and I use it without being a function.
Can you help me?
When I run this:
It happens:
But
The funny thing is that there is an image in
message.guild.iconURL
, and I use it without being a function.Yes, I already tried that. Unsuccessfully.
Additional information:
The text was updated successfully, but these errors were encountered: