djs-questions

13317 threads · Page 55 of 267

Repeating interaction 26 messages
barren pebble Is there a way to use the 'interaction.update' multiple times? So i can make like one button after another <:peepoThink:...
What Discord.js features have the potential to hit the limit/go over the set Discord API limits? 13 messages
honest quarry Where can I even find Discord's API limits? I just want to make sure that what I am doing with my bot won't eventually b...
node
interaction not working 15 messages
node
Error when i do npm install discord.js 2 messages
bold fern i don’t know how to fix this at all and i’m beyond confused i’ve tried so many times i am useing Visual Code Studio
Simple question, how can I check if an incoming message is *specifically* a slash command? 5 messages
honest quarry How can I check to see if an incoming message (messageCreate) is a slash command? Sometimes a typo can happen and a slas...
Deleting Ephemeral Messages 9 messages
vital canopy Is there any sort of way to reply to an interaction privately and then delete the reply?
Button Automatically Pressing 19 messages
lusty portal Hello! Im currently working on a bot using oauth2. Im in the middle of rewriting how i handle refreshing access tokens i...
node
Command handler change 35 messages
wet barn Would it be possible (is there an example) of a command handler, that looks into a folder with all of the commands, but ...
node
Message listener only on certain channels? 14 messages
rancid solstice Hey there! So I have this: ```js module.exports = { name: Events.MessageCreate, async execute(message) { ...
Application did not Respond! 37 messages
candid cradle I am hosting a bot that can send image with ping like quality control but everytime i run a code the bot says applicatio...
Opening handshake timeout 17 messages
warm charm Hi, I'm testing my bot and i make reboots often. I have and `Opening handshake has timed out` when trying to launch `cl...
help me to resolve 6 messages
shut urchin i created a self role select menu . when i call the setup command and interact with the channel select builder and role ...
Fetch messages from multiple channels 6 messages
eternal birch Heya, I need a solution to find active users in a guild, so the base idea is like a command that defines a timestamp lik...
node
Rebuild Bot Guide ID 16 messages
lean pebble So, at the moment my config consists of `"guildId": "xxxxxxxxxxxxxxxx",` which is the guideID. I want to basically r...
deferReply without message 2 messages
sleek heath how to turn off the message in inter.deferReply (not ephemeral: true)
node
my code is not working! 8 messages
i can't get multiple roles uisng addroleopts 6 messages
shut urchin ```.addRoleOption(option => option .setName('role') ...
How to register commands using .set() ( ill explain in thread ) 14 messages
candid spoke hello
How to query members of a voice channel 51 messages
full linden Hello, i would like to query all the members of a certain voice channel. But unfortunately i only get an empty list of ...
node
Disconnect on idl 2 messages
Partials with GuildMember 7 messages
fierce lava Hello, I don't understand the use of partials with GuildMember.
Unique Id on modal crashing bot submission after cancel 15 messages
shut trellis I see this question all over the discord and I've tried numerous different suggestions that people have given and yet I ...
how to make a discord invitation bot, 5 messages
thick shoal Hello, I would have a question about how to make a discord invitation bot, I tried to do it like in the example but it d...
How to get values from options other than .getString()? 9 messages
raw fable Hello, I am extremely new here and this is my last option, I looked all over the documentation and the guide to get an a...
InteractionNotReplied, sometimes occurs 5 messages
shy bay hello, i made a bot for hangman, but i am facing an issue where i keep getting this code D:\Projects\node\discordbot\nod...
messageCreate Event is not receiving DM messages 4 messages
lament otter Hey, I'm trying to do something with my bot but I can't receive the messages that has been sent to the Bot DM's, And I h...
How can I change custom url in DiscordJS v14? 9 messages
node
console shows promise pending 13 messages
junior widget ```const { SlashCommandBuilder, PermissionFlagsBits } = require('discord.js'); module.exports = { data: new SlashC...
Bot disconects from ws. Debug attached 6 messages
wind fable I started debuging on my discord bot since it often likes to just act dead, but the code is running https://paste.gg/p/a...
node
Canvas change image color 3 messages
vestal spindle How to change image color, so i load an image of icon i need, and i have function that finds what icon through db. But m...
@discordjs package
Polls support? 13 messages
zealous osprey Is there any support or expected support for the official polls feature working with Discord.js?
Editing a message deletes it for some reason. 22 messages
modern mulch To explain my system. I have a music bot that some events trigger certain message edits. Upon a user playing a song, an ...
error importing json 4 messages
shy bay hello iam trying to import token from my json config, but it doesnt work ```js import { token } from './config.json' as...
Interaction already replied on slash command? 50 messages
honest quarry When the slash command is ran again, the old interaction is received (which is why it errors). How?
node
automoderationRules 8 messages
ornate notch 2 Questions: - How can i fetch autorules with triggerType 1 - How to edit the rules (updating the keywordFilter)
How to use webhook 21 messages
sacred moon i just learned js somehow i jump into discord webhook,n i read it on discord doc but it have some weird terminology,i pr...
node
creating a lobby invite system with dj 5 messages
granite ingot ```createLobby(type, capacity, metadata) { return this.request(RPCCommands.CREATE_LOBBY, { type, capacit...
TypeError // Text mirror command not working 18 messages
red plume Hello, so I'm trying to create a command that mirrors the text the user inputs, the only problem I have is I can't find ...
InteractionAlreadyReplied 2 messages
error shows that No command matching ban was found. 91 messages
arctic edge ban.js: ``` const { ActionRowBuilder, ButtonBuilder, ButtonStyle, SlashCommandBuilder } = require('discord.js'); modul...
PM2 specifically fails to start djs bot, all other projects restart just fine 16 messages
coarse horizon Only happens on reboot, I have 2 other non djs projects using express which restart just fine on server reboot but my DJ...
Error: Invalid string format 4 messages
trail blaze Hello, I don't know why the error I mentioned in the title occurs
UserSelectMenuBuilder 2 messages
help 12 messages
shut urchin ```const { SlashCommandBuilder, PermissionFlagsBits, ActionRowBuilder, ButtonBuilder, ButtonStyle, } = require('discord....
All the mentioned users in my GuildMemberAdd logs are suddenly 'unknown-user' 4 messages
round citrus I have a simple logger for the `GuildMemberAdd` event and it has worked perfectly for the past 2 years. Around two days ...
node
trying to load slash commands 63 messages
covert pier ```deployCommandsF() ^ TypeError: deployCommandsF is not a function at Object.<anonymous> (C:\Users\clou1\OneDrive\...
node
TypeError: Cannot read properties of undefined (reading 'setFooter') 27 messages
subtle scaffold https://i.imgur.com/ZBZuVE0.png
Canvas 4 messages
limpid carbon ```js Error: Failed to convert JavaScript value `Undefined` into rust type `String` at Client.<anonymous> (C:\Users\...
node @discordjs package
automod example 15 messages
shut urchin I need an example code for making automod
spam related 12 messages
shut urchin How to make a slash command to prevent spamming in server