Webhook avatar missing

const avatarURL = client.user.avatarURL({ format: 'png', size: 256 });

channel.createWebhook({ name: client.user.username, avatar: `${avatarURL}` }).then(webhook => {
//
});
const avatarURL = client.user.avatarURL({ format: 'png', size: 256 });

channel.createWebhook({ name: client.user.username, avatar: `${avatarURL}` }).then(webhook => {
//
});
8 Replies
ShompiFlen
ShompiFlen3y ago
can you log avatarURL
probablyraging
probablyragingOP3y ago
It's logging the correct URL
[2022-07-18 06:38:53.064 UTC] [LOG] https://cdn.discordapp.com/avatars/841409086960697385/bab29eeef90013ed52526cadbf394373.webp?size=256
[2022-07-18 06:38:53.064 UTC] [LOG] https://cdn.discordapp.com/avatars/841409086960697385/bab29eeef90013ed52526cadbf394373.webp?size=256
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
probablyraging
probablyragingOP3y ago
Positive it can be webp format, regardless, no format seems to work have tried webp, jpg and png
souji
souji3y ago
can reproduce
probablyraging
probablyragingOP3y ago
Assuming this is a djs issue, what is the best way to report this?
souji
souji3y ago
github issues
probablyraging
probablyragingOP3y ago
Thanks
Want results from more Discord servers?
Add your server