djs-questions

9202 threads · Page 54 of 185

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...
1150878580193116250
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 ...
1150878580193116250
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...
1150878580193116250
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)
1150878580193116250
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 ) 13 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 ...
1150878580193116250
I'm trying to generate Typedocs but many errors in the typings of DiscordJs 1 messages
reef atlas I'm trying to figure out why when I try to make my docgen using Typedoc it jams on discordjs' index.d.ts... I get atlea...
998292157150535700
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...
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...
1150878580193116250
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...
998292157150535700
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?
1150878580193116250
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...
1150878580193116250
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
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 ...
1150878580193116250
trying to load slash commands 63 messages
covert pier ```deployCommandsF() ^ TypeError: deployCommandsF is not a function at Object.<anonymous> (C:\Users\clou1\OneDrive\...
1150878580193116250
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\...
1150878580193116250 998292157150535700
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
why do i get module not found if the directory i put for "main" in package.json is correct (i think) 1 messages
rustic gate honored.js (a.k.a index.js or bot.js): https://srcb.in/FQImchjC6m package.json (I am aware some dependencies are missing...
VS code with node 12 messages
hexed blade Hello I am new to the CODING and all can you tell me how to make node.js work with VS Code IDK about VS Code features an...
1150878580193116250
Button message not working 6 messages
random vapor I want when other users who arent the interaction user get met with this message 'only user can use these buttons', but ...
Webhooks 7 messages
spiral inlet Hey is there a way to get data sent to the webhook client, instead of when the webhook sends the message?
Making a discord bot and integrating a website 5 messages
devout frost Is there a way for me to start the bot and the website at the same time in the same file [Next.js]
messageDelete does not work with old messages. 16 messages
fierce lava If I delete a message that I just sent or that I sent a few minutes/hours ago, the bot detects and sends the embed but i...
How do I create a Logger for every event? 4 messages
turbid pewter I'm trying to create a logger for every event I cover, I alredy did it in the past but it was a bit messy. I had many li...
Reaction collector not working 21 messages
slow perch Reaction collector does not seem to work for me , i am expecting to be able to collect reactions on a message or embed. ...