djs-questions

13317 threads · Page 123 of 267

Cannot send an empty messag - embed 7 messages
toxic elbow ```js const embed = new MessageEmbed() .setColor('#000033') .setTitle('Achievements') .setDescription('Here is a list o...
V12 msg.content = empty 9 messages
toxic elbow as you see in title ``msg.content`` return empty string
Would i be able to get help from some people updating my older code to a newer version? 6 messages
night hearth Title explains itself. I have some code that I have form an old bot I made before and now, I'm looking to revive said bo...
messages not being read? 17 messages
torpid hazel hello! i have the following code and when i use the command it does not run the code under it, so i added the line to lo...
cant get slash command to handle 9 messages
twin ibex Im following this guide (by the way, I can't believe this guide spends so much time writing extra code to build director...
Webhook message doesn't shows up as blank when doing console.log(message.content) 11 messages
Handling error? 41 messages
loud agate I guess its an error in my command handler. as No commands will register
Bot doesn't receive direct messages 7 messages
Editing a button issue 5 messages
lunar cedar So im basically trying to make a slash command that edits one of 2 buttons in Embed Message. And after invoking command,...
Module Not Found errors, trying to use @discordjs/core v0.6.0 with nextjs v13.4.6 24 messages
grave shore A totally fresh project, I assume nextjs and @discordjs/core might be having some conflicts, but I don't find zlib-sync ...
@discordjs package
Get multiple user 37 messages
pliant sun i want to do is only users that got pinged in that content can use the cmd otherwise you cant use it
The bot does not answer 32 messages
remote terrace Hello 👋 I have a problem with my discord.js v13 code, the code looks ok, no errors in the console, the bot is connected...
Handler 11 messages
chilly salmon https://sourceb.in/irjUFSEGWI <@788694370760261642>
How register slash commands? 20 messages
hallow echo import { REST, Routes } from 'discord.js'; const commands = [ { name: 'ping', description: 'Replies with Pong...
Isolating interactions on Select Menu’s 4 messages
outer olive Hello friends! Looking for some guidance and did not get too far online `Setup:` I have a Select Menu and a Button in ...
looking for a collab 2 messages
ashen summit I have half a system done and need assistance with completing it. It’s an extremely advanced ticket system. Thanks!!
Can't get channel nor guild when passing valid ID's 3 messages
limpid hull Hello, I can't get both the channels and the guild that I'm trying to use for my Discord.js bot. Whenever I try, the cha...
hosting 4 messages
olive carbon I have a bot but now sure what’s a good hosting service can anyone help?
Clearing all members with a role 83 messages
dull wing Is there a easy way to remove a role from all members in a guild, or do I need to manually get all the members and remov...
How to make bulkDelete delete messages older than 2 weeks? 15 messages
teal cipher In docs (https://old.discordjs.dev/#/docs/discord.js/main/class/NewsChannel?scrollTo=bulkDelete) I found filterOld, howe...
old commands still showing 4 messages
golden quiver how can i get rid of commands that are still showing even though they were deleted? i already tried refreshing discord
Twitch Live Notification 6 messages
astral charm Is there a way to set up a Twitch Notification Setup with djs?
help if i press random button or truth button or dare button it will said interaction failed 8 messages
cold zealot heres the script: https://sourceb.in/J3kJ91s0ed
Why buttons doesn't worked after bot restart? 27 messages
marble inlet Why if the bot sends a button message and is restarted. The button no longer works. Is it possible to change this someho...
Help 30 messages
eternal violet Im trying this slash comand but i cant see the option 'user' module.exports = { data: { name: 'userinfo', d...
Trying to do a say slash command 14 messages
What is this error 30 messages
arctic sky Idk what is this
fetching a message from a channel 15 messages
Question about GuildChannel 7 messages
jaunty crescent ```<GuildChannel>.members(memberId)``` how can i check if a certain member connected to the voice
client.ws.ping returns -1 11 messages
wanton star discord.js version: [email protected] Node version: v18.16.0 I've searched for this issue on both <#824411059443204127...
Where does this log come from? 8 messages
quaint loom This appears when my client is starting but I am unsure where it is coming from, could it be the unhandled rejection or ...
Interaction failed; Unable to use buttons 12 messages
warm quest ```js if (command === "button") { const clickme = new ButtonBuilder() .setCustomId('clickme') ...
How to handle Cron jobs? 3 messages
inner matrix Hey, on my current setup I have 1 service which is the main server for the bot and it runs a daily cron job that loops t...
Unknow interaction 7 messages
cedar flax Hello, I've been stuck on the UnknowInteraction error returned by my code for several weeks. The problem is that I can't...
Why channel.send doesn't worked 4 messages
Option Choices Async function. 15 messages
regal atlas Hi i'm trying to set my organization repos as string choices. I can use an await promise so I can't figure out how can I...
Invalid bitfield flag or number: 2048 13 messages
opal hedge current code: ```const BotSettings = require("./BotSettings.json"); const Discord = require("discord.js"); const { Clien...
slash command 31 messages
Can bot detect other bot message? 6 messages
pliant sun Can bot detect other bot message? Like if the bot send hi, my bot will send hello
Editting an ephemeral message 2 messages
atomic geyser How do I edit an ephemeral message that has not been dismissed yet please? I want to edit it on timeout
new usernames? 4 messages
last relic So when would the new usernames come to discord.js since everyone has them now / almost everyone
snowflake to date 2 messages
smoky heart is there a utility function for the conversion or do I need to write my own?
help me solve this webhooks issue 2 messages
sturdy juniper https://sourceb.in/HqHVMUHIqq so i am unable to fetch the webhooks from my client i want to make a bot announcement jus...
permissionOverwrites 2 messages
jaunty crescent ```interaction.channel.permissionOverwrites.delete(member).catch(console.error);``` is it ok to supply a userid or rolei...
dev release
How would I save an attachment provided by a command? 26 messages
half spoke How would I save an attachment provided by a command (in a folder in my bots source) as I have tried saving the buffer t...
Channel permissions 44 messages
old stream So I have a bot that changes a bunch of people's permission for a channel. However, I am getting the following `Discord...
reaction role not adding role (again) 8 messages
Not able to get the bot to reply when I say a specific message. 26 messages
sour trench My friend and I are working on making a discord bot. We're trying to make it so when you type something specific, it'll ...
Get interaction that triggered ModalSubmitInteraction 12 messages
pearl cipher I'm just wondering is it possible to get the interaction that a ModalSubmitInteraction originated from? For example, whe...
Hey, I need help because I did cmd under slash and everything worked, only it is not visible in the 5 messages
drifting rock Hey, I need help because I did cmd under slash and everything worked, only it is not visible in the chat as slash, can a...