Basically i am trying to create a userinfo command for discord.js, i followed some tutorials and i seemed to make one, but i get this error saying: TypeError: C
i'm trying to give top.gg voters role in my server but there's so many thing happened got me confused and i can't find any solution for it. full source code : h
I have a discord bot and it works perfectly. My objective is that when I send the >help message, the bot chooses a random colour for the embed and sends it.
I am trying to set the activity of my Discord bot as a "game" however the examples I've found online haven't helped at all. client.user.setActivity("what the bo
I am trying to code a bot for a game idea my friends and I have. The command I'm working on is the score adjuster. Obviously though, I only want moderators to h
If an interaction (for example button click) is not replied, discord will display “interaction failed” in the client What they expect you to do: int
I'm using message.mentions.members.first() but the problem is that when I ping a user, the bot replies after a long delay. Video: https://gyazo.com/a8739e60bb86
I've been trying to use interactionCreate event, but somehow it's not working. I'm not sure why, and I didn't find exact documentation about this event, only th
I have spent like 2 hours trying to debug this and I don't know what to do. I get the following error: connection.destroy ^ TypeError: Cannot read properties of
So I'm trying to disconnect a specified user that is on my voiceChannel clicking on his username, this is my code: options = []; let perms = channel.members
I want to find a category just like how you find a channel. let channel = message.guild.channels.cache.get(<id>); Is there a way to find a category like
I am making a slash commands and keep getting the error TypeError: interaction.isCommand is not a function. I am using discord.js version 12.5.3. It says that i
I want to understand the reason for the error, so if it happens again, you can correct it, the following error appears whenever I use the !whitelist command (my
Is it possible to hide slash command in discord.js v13.1.0 ? I tried to add some permission but nothing that i found worked like the " command.permissions.add({
I've very recently had a look at buttons for my discord bots, and in doing so I also discovered the menus that you can create. I want to know how, if it's possi
I need to figure out how to create an invite link for users so that they can track invites. Currently I have this, however this created the invite for the Bot.
Is there a way to have a command with buttons be used by two people at the same time in the same channel? I made an adventure system which is going well so far,
I'm trying to make a discord bot with the command prefix "*" but when I try to get the bot online/run it, it gives me this error: node:internal/modules/cjs/loa
i got an error. PLZ HELP ME!! I tried the slash command bot. And i have been getting this error. I have tried hard to solve this error. I gave
i recently started with Discord.js and i am currently making a hug command. the command itself is working fine, but the problem i am facing is that i want the b