Skip to content
Advertisement

Tag: discord.js

Error picking up the user’s avatar (discord.js)

Code Error: Since when I started using discord.js V12 i walk with many doubts and one of them is, how to catch the avatar of a user? Can someone help me? I know it’s a stupid doubt but I really don’t know Answer message.author.avatar is not a method. You need message.author.avatarURL As mentioned above, try using the docs

How do I use an API in Discord.js?

I was looking for a cool way I could automate some interesting news articles on my discord server. I wanted to use webhooks at first but then decided to go with APIs. I looked all around and saw that I should go with New York Times API but when I went to code it, it came up with a few

Advertisement