djs-questions

13317 threads · Page 102 of 267

Discord Inpainting? 15 messages
cloud grail i'm wondering if this is a new feature from discord like, like a modal upgrade or something, and if we can use them now,...
Unknown Interaction Fiasco 43 messages
tame forum Everything is latest and I have ensured to defer reply. No matter what I do, Discord.JS will sometimes return an "unknow...
Command not found, when it's clearly found 4 messages
stray mist So the commands I have are "ping" and "pong", but when I run the commands, it does nothing.
Detect message and send this message to LocalAdmin.exe and then give reply from this app 3 messages
noble depot I'm very noob in programming such a bots, so can you help me to code a bot, which will detect message like !cmd command ...
bot does not responding to any command 6 messages
bright drift ``` const { Client, Intents } = require('discord.js'); const client = new Client({ intents: [Intents.FLAGS.GUILDS, Inten...
Using d.js from a web backend 13 messages
autumn steppe My specific use case is that I want to be able to perform simple actions that don't require the gateway from a web backe...
Max number of command registrations 21 messages
sonic stag Hi, I am working on transitioning my bot to a slash commands. I see there is a limit on how many times we can register c...
How remove old / command from list 2 messages
woeful tiger I created other script to command but old didn't removed from list. But i don't know how remove it
help with console time 5 messages
topaz kraken I know that this isn't even discord.js question, but Im just too dumb to fix it and I dont know what to do please help :...
Randomly Fails at creating roles 9 messages
fossil swallow I am very new to all of this. Im trying to create roles based on array of objects, meaning the object's name. This was w...
How do I add prefix commands to my bot mostly working on slash commands? 43 messages
surreal shell Hey, so I was trying to add prefix commands to my slash commands based bot by following a TUTORIAL, which led to me just...
nsupportedCacheOverwriteWarning 21 messages
half ember got this error stack on fresh ts project , anyone could tell me whats wrong ? ``` (node:1604) UnsupportedCacheOverwriteW...
Is it possible in these forms instead of a text field, to put a checkbox? 3 messages
worn yoke Is it possible in these forms instead of a text field, to put a checkbox? If so, how can I find the documentation or som...
How create Forms 3 messages
worn yoke Hello everyone, I wanted to know how I could create this type of form, what functions should I use?
Group DM recipients 21 messages
scarlet pewter Does discord.js manage and cache recipients (users) of a direct message (DM) group? I didn't find anything related
@discordjs package
How discord.js handle threads and posts caching 2 messages
signal compass HI , how discord js handle such stuff as handling cache for threads and posts
dev release
Reload Commands 27 messages
hidden grove Hello, I'd like to update my bot's commands with a command on Discord. I've followed the instructions on this page (http...
unknown interaction code 10062 6 messages
frigid copper How can I avoid "unknown interaction code 10062". It kill my bot 😅 #10062
slash command not appearing 13 messages
ancient plume made a slash command, it's not appearing when i bring the bot online, ``` const { Client, Intents, MessageEmbed, Messa...
@discordjs package
How to send a embed automatic, when the bot is started 37 messages
wooden wharf help pls
Help with autocomplete and JSON. 38 messages
vernal epoch This code searches within 3 JSONS (This will change at the end) it searches the keys "text" (name) and "reference" (Page...
Modal error 5 messages
How to access interaction.options inside button callback 43 messages
half ember Is it possible to get `interaction.options` from command handler to the button itself so i could continue with the handl...
Twitter streaming 6 messages
restive garden Hi, I am trying to add a command to my bot to monitor some twitter/X accounts. The operation is very simple, when a user...
Category isnt private ? 4 messages
half ember ``` const eventCategory = await interaction.guild.channels.create({ name: ":dagger: " + interaction.options....
Does anyone know why this is happening? 4 messages
harsh bramble The bot isnt doing anything no commands have been run seems to just randomly throw this error ``` RequestAbortedError [A...
give the javascript code 36 messages
molten torrent make a command name /trade required two details offer and request and make the embed with a button name" trade" if user ...
give the javascript code 2 messages
Bot Discord V14 - Ticket System 13 messages
valid dawn Hi, I'm working on a ticketing system, including ticket management (deleting, closing...). I'm making a transfer system ...
edit ephemeral message without access to interaction object 6 messages
unreal dew ``` // example code const message = await channel.messages.getch(messageId) message.edit({content: `The voice channel l...
about me 5 messages
jaunty current how to exchange about me for my bot token
if member left server remove reaction of that member 12 messages
1. Is it worth it to switch from DPY 2. How long would it take me to have a decent knowledge(JS&DJS) 3 messages
loud laurel I've been a developer for years but I mostly do it as a hobby I know Lua and python and I worked with DPY I wanna learn ...
buffer.File Warning 18 messages
nocturne goblet When I try to send an attachment file this error shows ```bash (node:26404) ExperimentalWarning: buffer.File is an exper...
DJS RPC 7 messages
vale burrow ```js const RPC = require("discord-rpc"); const rpc = new RPC.Client({ transport: "ipc" }); const { RPC_CLIENT_ID, A...
RPC
Creating a message based on Roles 2 messages
edgy fox I'm trying to create a message which is essentially a lineup of all players. I'm trying to do this task by fetching thei...
permissions 11 messages
flint anvil I need to give my bot perfect permissions and I know which to opt in for, but Idk what "use embedded activities" does, i...
How can i make a captcha system like this? 3 messages
terse finch I want to make a captcha system so that people can't just add an auto typer or macro to get inf. money
discordjs/voice & Basic HTTP Authentication 3 messages
pliant kernel Howdy, Can I pass a username and password to `createAudioResource` to satisfy basic http authentication? Or do I need ...
database not working (sequelize) ? 8 messages
Can't join voice channel 17 messages
manic pond I am making a background music bot that joins a voice channel and plays, well background music. I copy-pasted the code f...
Cannot schedule event in the past 12 messages
red gyro I gave this argument when creating my scheduled event: ```scheduledStartTime: timestamp``` The bot wrote this date in th...
Message.startThread: Missing Access 5 messages
red gyro I'm doing something like this: ```js const client = new Client({ intents: [ // How many flags do I need to start a...
Userinfo Command 17 messages
torpid holly ```js if (check) { const user = await args.pick("member").catch(() => message.member.user); const joined...
train a bot 3 messages
stiff geyser hey, I have an image generator bot, but I want to train this bot to give better quality and results according to the des...
Button Interaction failed even though it did what I intended? 11 messages
Interaction/Button question 4 messages
crystal rampart I have a quick question regarding interactions/buttons; If I post an embed with a button attached to it using Bot A, ca...
Editing Message Rate Limits 5 messages
drowsy crest Hey there, I noticed some interesting behavior when it comes to editing messages that I had some questions about. I noti...
invites 6 messages
flint anvil how can I get invite links of servers my bot is in?
Message Username 4 messages
tawdry crater Hello, people! Is there a way to send messages using custom usernames and pfp urls? something like `channel.send("messag...