djs-questions

13317 threads · Page 91 of 267

How do I make "different" Slash Command String Options? 3 messages
clever seal I see this happening with NQN, and a few other Discord bots. My bot is a currency bot, that has an item/inventory system...
node
Do SubCommands count toward Discord's 100 slash command limit? 3 messages
pseudo patrol I already asked bing, but I just want to confirm.. Thank you!
@discordjs package
what permission is needed to listen for MessageReactionAdd in user's DMs? 5 messages
south lagoon I am using the boilerplate code from the example of "listening for a reaction on an old message" from the tutorial docs....
Discord v14.8.0 Modal Submit not working. 25 messages
tiny inlet Node version: ```v18.12.1``` Current dependencies are as follows: ```json "dependencies": { "captcha-canvas":...
Understanding the differences between various deleteReply functions 5 messages
full ice Discordjs version: [email protected] Node version: v20.8.1 I've got a SlashCommand that spawns the interaction shown ...
node
help with makeing a bot 26 messages
brazen meteor Hey yall I am looking for some help to make a discord bot for my discord I am a twitch streamer a small twitch streamer ...
dev release
get previous command arguments after clicking button 12 messages
twilit geyser I have a command which gathers some data from a github PR. I'm trying to add an update button. The button interaction re...
Async datas in command.data (SlashCommand) 8 messages
quartz flare Hey everyone ! I'm trying to register that new one command, actually that I want is to pass "interaction" in ``data`` wi...
node @discordjs package
Not sending webhooks in docker 12 messages
paper iron Hey so I recently dockerized my bot to make hosting easier and ever since that none of my webhook requests go through to...
node
Problem with counting members with catch 24 messages
sand hazel Can someone help me, cuz I have a problem with counting members. Generally, I am trying to count both bot count and non ...
node
When i send a message it repeat always 3 messages
prime quiver ```javascript client.on(Events.MessageCreate , message => { if (message.channel.id === channelid) { const ch...
i need one interaction on select Replace the interaction 1 2 messages
waxen grove ```js module.exports = { data: new SlashCommandBuilder() .setName("addrole") .setDescription("Add Role To Me...
node
Unable to use :person_shrugging: emoji in button? 10 messages
dusk idol Anyone know how I can use 🤷 emoji in a button? When I do `\:person_shrugging:` and copy/paste it into the name field I ...
So I've made a bot, but the command doesn't work, at least they don't get recognized. Any Ideas why? 21 messages
drifting spruce ```js const Discord = require('discord.js'); const token = 'token'; const { Client, GatewayIntentBits } = require('disco...
setDefaultMemberPermission in dm channels 8 messages
lilac thicket I'm trying to merge my clean and cleanDM commands (one to clean up messages in dms, one for guilds) can I still use ``.s...
Unknown interaction 13 messages
mellow dragon Hello I have a problem that I can't figure out. I understand the principle of deferring an answer, but in this case I'm...
My one Guild commands Handler are stuck in refreshing 34 messages
vivid pilot My one Guild commands Handler are stuck in refreshing and dont reloade what can i do there is no error in the Terminal. ...
Can't get 'uses' property on fetched invites 43 messages
hard hamlet Trying to get all the invites from the guild ```ts import { Guild } from 'discord.js'; import { client } from '../client...
This is the way for Chinese people: about connect timeout error or ETIMEDOUT error 3 messages
little turret first of all i would like to say thank you to Qjuh. he has been really patient and helpfull in the past four days ,thank...
@discordjs package
embed field not showing 6 messages
proven drum So far I have tried to add a lot of console log to check if the embed isn't getting any value or something but all the l...
issue with help command 89 messages
honest rapids https://sourceb.in/Klz09ynf0B i describe tags in the command but the bot does not pick them up and use them
how do a use the @discordjs/proxy? 58 messages
little turret as said ,I need http proxy best practice and websocket gateway proxy best practice . thank you .
@discordjs package
Channel Create 3 messages
sand cypress Is it possible to code button so it creates a new channel?
Error Sending Modals 18 messages
coral jetty Error: Cannot properly serialize component type: undefined?
creating custom events 4 messages
turbid oxide Hello how can I create custom events and call them from another file ?
i seem to be having an error. 5 messages
honest rapids https://pastebin.com/DdHSPAEb there is no error in the console but the bot responds with that there was multiple errors...
connect ETIMEDOUT using @discordjs/proxy-container 4 messages
little turret Error: connect ETIMEDOUT 208.77.47.172:443 at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1278:16) { err...
Discord.JS is caching prevents me from getting most up to date `member.voice` info. 5 messages
tender flower Discord.JS caching system is preventing me from getting the most up to date member information. I would like to get the...
How to run docs website locally? 5 messages
indigo crow How can I run/preview the discord.js docs website locally? `CONTRIBUTING.md` talks mostly about how to build/test the ...
Is this the correct way to fetch the member? 7 messages
tender flower I'm listening to the `messageCreate` event and am fetching the member. Is this the correct way / most optimal way to fet...
How to properly get channel ID? 33 messages
glass copper Hello, all I really want to do is to get the channel ID, but I'm struggling to do so as it prints out as undefined. mo...
Proxying the API 5 messages
paper terrace Hayo, I would like to proxy the Discord API so that I can analyze what endpoints I call the most, as well as other data...
node
why the command not verify 8 messages
swift finch Hello in this image i put options but in the project of bot when i put another options it isnt recorded why ??? is the...
How do i get member count of a specific guild 4 messages
fading oriole ```js const { Events } = require('discord.js'); module.exports = { name: Events.ClientReady, once: true, as...
Need help handling event 6 messages
turbid oxide I added a VoiceStateUpdate to my events but its never called
How can I create something within this apps, I want my bot to have an option to read embeds 2 messages
TypeError: (intermediate value).setColor(...).setTitle(...).setDescription(...).addField is not a fu 13 messages
node
TypeError: Cannot read properties of undefined (reading '0') 3 messages
hollow cargo The code: https://sourceb.in/CcJiGASyoU The error: https://sourceb.in/z0DhHGspBn So basically I can't get my command t...
`avatar_decoration_data` is not returned by "client.users.fetch". 4 messages
tender flower When I do: ```js client.users .fetch("564386579037159446") .then((user) => console.log((user as any).avatar_decorati...
Issue: client.cooldowns - discord.js ^14.9.0 - typescript 2 messages
visual locust Hello, I have a little problem, Is there a solution to the problem regarding the cooldown feature for commands withou...
node @discordjs package
Is there an api to access connections? 7 messages
shy totem My profile has an xbox connection, and I want the bot to get my username
node @discordjs package
Implementing Websocket Resume 3 messages
tender maple Hello, I would like to implement Websocket Resume feature as described here: https://discord.com/developers/docs/topics...
How to correctly make a VoiceState event using eventHandler 53 messages
lunar valve I created the voiceXP.js event, which was supposed to grant experience every minute while in the Voice Chat. However, fo...
node
Unable to show modal from button interaction. (discord V14.8.0) 15 messages
tiny inlet Hello, I've been struggling to get the modal from my button to work. I have done everything right as far as I can tell a...
@discordjs package
channelUpdate compare permissions 21 messages
jovial helm Hey there, I tried using the channelUpdate event to get the difference between the old permissions and the new channel p...
Ban reasons are no longer showing up in audit logs 86 messages
tired field I’m using djs v14. Previously, ban reasons would show up in the server’s audit logs as expected. However, this functiona...
node
Can‘t find message by id 8 messages
supple pumice I can‘t fetch a message by his id. The error: const clockInMessage = await user.messages.fetch(worker.clockInMessage);...
Loop for bot role has 8 messages
compact walrus ```js const rol = "1048495552322609232"; const guild = message.guild; const mem = []; const role = guild.roles.cache.get...
MessageComponentCollector gives wrong button customId 30 messages
azure ledge **Code:** https://pastebin.com/Vk2fFSvi Hi! So, I'm creating a tic-tac-toe command, and for the most part, it's done. H...
node
Accessing values of an authorization request. 3 messages
pliant swift Hello - I've just made an OAuth request from discord and stored it in a requests object as follows: ```js export async f...