djs-questions

13317 threads · Page 159 of 267

How to get the nickname, I gave to a friend of mine? 2 messages
uneven estuary I'm looking for a way to get the nickname I can set for freinds. When I believe into the Discord API, the relationshop-o...
Reply to the command author on a 2nd message 2 messages
oblique shell Hello, I have a bot that sends the user a message with a button, and if the user who made the command clicks that button...
What type of component is this. 5 messages
crimson sparrow I cant find this on api..
ButtonInteraction component missing .setStyle method 5 messages
patent river why does my `ButtonInteraction.component` does not have `setStyle` method? ``` console.log(interact.component); interact...
NPM I ERLPACK 9 messages
Check if user is connected to the same channel as the client 4 messages
lofty gull I want to know the best solution for determining whether a guild member is connected to the same voice channel as my DJS...
Receiving Unsupported Error on Debian 11 VPS 7 messages
sturdy otter Full error provided. Any way around this?
@discordjs package
Can't get bot to send an audible alert in audio channel whenever a message is sent in a text channel 5 messages
elfin magnet I'm really not sure what is going on here. I can get the bot to come online, and then join the audio channel I'm in, and...
Checking if a channel is created by the client 39 messages
junior rover Hey! I need to check whether a channel is created by the client itself, is there a way to do this quickly? The method I ...
How to know if a user reacted to a specific message and assign a role 3 messages
unreal glade Hey guys, what's up, I'm trying to figure out how to tell if a user reacted to a specific message and assign a role to t...
Is it possible to convert text channel to thread and move to under forum? 3 messages
old patio title
Limiting gateway data to reduce traffic usage 62 messages
charred igloo So is it possible to do something to reduce bandwidth, my bot which currently uses presence intent has over 500gb monthl...
Reaction collector without time limit 13 messages
plain hamlet How can I let a bot collect reactions for a undefined time? Like in those reaction role things
Get message object from interaction (question) 5 messages
How do I check if the author is a bot? 21 messages
leaden hazel If the author is a bot This is written like ```js if (author.id === client.user.id) ``` Is this right ?
Error making embed pagination 10 messages
tacit osprey Does anyone know hot could i fix this error? Im using djs14 with mongoose and I think its around this function but I do...
Debug Events for ratelimit 20 messages
tired gust So does anyone know how to create debug events but it will log ratelimit information
http only bot 10 messages
deep ledge Can we create a HTTP only bot with Djs and deploy it to cloudflare workers? Because i have a discord bot in discord.py w...
how do I use permissionOverwrites.edit() 15 messages
naive notch im trying to add permissions to a voice channel but I get an error when trying to use it like intended in the doc <http...
Sharding 2 messages
tulip breach I don’t know how to create a shard/ setup or install it.
I am attempting to allow a user to update the topic of a channel to include a unix timestamp 4 messages
trail palm The code that seems to always produce a timestamp that is 10 hours early ```js } else if (command === 'updateraidtime')...
menu's 8 messages
deft heron I'm so confused, I have it so that if I send a command and the bot replies with a menu, and an user selects option 1 for...
Automatic Restart On Crash. 50 messages
terse spoke i have a discord music bot. I host my bot on DigitalOcean and just so then u know, music bots are take lot of resources....
TypeError: ActionRowBuilder is not a constructor 53 messages
Mention User Slash Command 26 messages
Discord RPC api routes throws 404 30 messages
opal rock Hi, i have a problem with discord rpc. When i try to authorize doing post in `https://discord.com/api/oauth2/token/rpc` ...
RPC
Help Stop the LOOP 2 messages
tardy patio I need help figuring out how to stop this loop, any links or completed code will help greatly 🙂 ```js module.exports =...
How to create an embed with pagination? 25 messages
tacit osprey I didnt found any tutorial for v14, if someone wants to share one it would be amazing!
can not see slash command in other server 18 messages
Performance 2 messages
zenith coral does a command handler make your discord.js v14.7.1 bot run faster (have better performance)?
ERR_INVALID_ARG_TYPE 2 messages
Community Features??? 3 messages
lethal crow Hi, I was wondering if Discord.JS gained new features that could create/modify/delete subthreads and forums? Need this f...
@discordjs package dev release
How do I check if a messages user has a specific role? 9 messages
fathom cliff ```js let channel = client.channels.cache.get(DISCORD_COLLABS_CHANNEL); let messages = await channel.mes...
Cannot read properties of undefined (reading 'reply') 3 messages
turbid hull I want to create a `latency` (ping) command, but I got an error message like this : `Cannot read properties of undefined...
can not play audio 7 messages
solemn bridge my bot can not play audio even though i can see the signal talking when my bot joining voice channel, here the code : `...
how can i access client property on sharding? 16 messages
low rivet I have all music player data on client that I can access through `client.manager.get("guildId") but how can I access thi...
@discordjs package
"Interaction Failed" message when using bot's /ban command 35 messages
cinder flicker Discord js v14 and node v18.12.1 When I try to ban a user with my bot, it runs the command successfully but once I pres...
Slash command not showing up in the server 5 messages
bot randomly logging out 3 messages
still trail I've noticed 3 times the past 2-3 months that the discord bot has logged out. I can't find anything in the logs, nothing...
Reason for timeout 11 messages
quasi latch Hi, just a quick question: how can I receive the reason for a timeout?
TypeError: Cannot read properties of undefined (reading 'send') 2 messages
nova sorrel I'm trying to write a basic Discord bot that sends messages at a specific time of day but I can't even get it to send a ...
Internal error while fetching text channel 6 messages
waxen jay Recently updated to discordjs v14.7.1, and ran into the following issue: Node v18.8.0
API Fetch error v13.1.0 2 messages
prime jolt I want to fetch an API, the fetch works during one month but today he didn't work with an error. The code aren't modifi...
"async" keeps popping up as false? 11 messages
shadow heron I'll show a pic of my code below...
Loading slash choices from file 12 messages
oblique shell Hello, I want to create a bot that can load a big number of slash command choices from a JSON or CSV file, add them into...
"Test my Commands" 3 messages
spring echo Is there a discord.js native to use this feature, or better asked is this features usable for everyone? Please lmk
problems with audio stream 2 messages
solemn bridge i try to create my own music bot use the ytdl-core library to dowload audio stream from youtube and then using createAud...
ephermal in message component? 48 messages
gray quiver I want to use ephermal in message but its not working
client.users.cache.size 41 messages
Bot treating register-commands.js file like its not there. 23 messages
wispy mountain This is my index.js ``` require("dotenv").config(); const { Client, IntentsBitField } = require("discord.js"); const c...