I would like to do a await message and list for my setWelcome but it does not send me Ok when I select in the Select menu and I do not know if it is good for th
I've been trying to make my bot's embed color update dynamically (using random color, editing HSV value). However, using msg.embeds[0] seems to give me the prev
I want a command that can only be used by people who have the ban permission current code: if(msg.member.guild.me.hasPermission('BAN_MEMBERS')) { msg.
im trying to make a discord bot using discord.js it works but whenever i try hosting it i get (Uncaught Error Error: Cannot find module 'expre
I was trying to make welcome message when someone gets on my server but I am trying to do so it takes embed from another file. It says guildMember is not define
Hello I made a mail command which would take message from modal and send it to a mentioned user but it gives this error in modal window and does not log anythin
Si I have this really simple command : let row = new Discord.MessageActionRow().addComponents(...) // The .. is too long so i'll just remove it for this questio
Well i need to do this: on a channel a bot announces "btc" price (not real) im trying to get the price and send the price to a specificed channel My code sa.on(
Not sure how to make pm2 run a Javascript that restart at 23 PM 59 sec everyday then enables auto restart for 10 mins to next day's 00:09 then no-autorestart fo
Why i didnt get message.author.id and create the channel with special permissions? const {SlashCommandBuilder} = require("@discordjs/builders") const { Client,
I try to get a message by id in discord.js, but returned MessageManager is a circular dependency and I cannot access any of it's properties. console.log(cha
So I am trying to send an embed to a different channel than the command was used in as a log channel how ever I have tried a few different methods however where
If I follow the instructions here, would it be considered against Discord TOS? Such as botting or whatever.
I am working on a code for a Discord bot for my server, and I'm currently stumped on a magic 8 ball feature, go figure. I'm trying to get it to check if there i
I am using the following code to figure out if there was an error. But I want to not run something if there was an error. I have tried to look it up and I could
I'm creating a slow mode command for my discord bot. I create the bot with typescript and I wonder why setRateLimitPerUser does not exist. What can I use instea
I create a function to send an embed message with a button and now I would like to create an event handler to detect when the button is clicked and execute a fu
So I've looked through the discord.js docs. I'm not too good at reading docs but is there a way to get the url of the message that initiated the command like: c
Can someone help me with these code? What I want to happen here is when an admin mentions a role, I want it to do nothing or maybe send a reply like "You mentio
So Im making a discord music bot (not for public) and its based off some github code and I put it in and gives me this, I had the node:events problem and fixed