Skip to content

Tag: discord

Discord bot loading but commands are not working

I’m making my first Discord bot and I’m following this tutorial playlist here: But for some reason my bot will load, say the load message, and even set its custom status but none of the commands are working. I have looked at many other forum posts and none are my problem so I’m very confused. I’m using Discord.js 14.3.0

how to sent request to discord bot API? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed last month. Improve this question How do I properly send a discord API request, and where do I get a valid token to do that because

if (typeof data !== ‘string’) throw new error(errorMessage);

I’m working on a serverinfo command in discord.js v13 and I don’t know how to fix this error ERROR: [Photo Error]: if (typeof data !== ‘string’) throw new error(errorMessage); ^ RangeError [EMBED_FIELD_VALUE]: MessageEmbed field values must be non-empty strings. [Symbol(code)]: ‘EMBED_FIELD_VALUE’ Answer The second parameter to .addField must be a string, as your error message says: MessageEmbed field values

Getting “Missing Access” error in console

I’m working on an add role command in discord.js v13 and this is the error I am getting: Error Answer What your error means is that your bot doesn’t have permissions to give a role to a user. It might be trying to add a role which has a higher position than the bot’s own role. One way to stop

pinterest web scrape image

I’m trying to get a url from a pinterest image and send a url of it through the general profile of the user on pinterest, but it’s returning me undefined my code: Answer The problem is that the page is still loading. #mweb-unauth-container > div > div:nth-child(2) doesn’t exist, because #mweb-unauth-container > div only has one div child, and it’s