djs-questions

9202 threads · Page 127 of 185

Media Channels 43 messages
gaunt python discord.js seems to work fine with media channels, besides reading them as forum channels. Is the current implementation...
Interaction Handler (Buttons) 128 messages
grave stone Hello there. I am trying to make a giveaway bot without using SQL / any database. I am quite new in coding hopefully can...
What is the best database for discord.js? 4 messages
tidal lake SQL Or NoSql? MongoDB or MySql? or anyother? Which gives more perfomance and use low-memory?
what are zlib-sync, bufferutil and utf-8-validate for? 14 messages
icy stag Hello, what are zlib-sync, bufferutil and utf-8-validate for? I don't really understand the point of compressing websoc...
Discord API Limit 18 messages
stiff wedge can a bot send a DM to 100, 1000, or even 10000 users all at once when some kind of event is triggered? Whats the limit?...
Is there any extensions and tools available that provide autocompletion for discord.js using Visual 22 messages
jaunty crescent title
998292157150535700
Has newer v14 updates outdated the .sendTyping() method or am I just not using it correctly? 9 messages
grave crane I'm on the latest version (v14.11.0) and I haven't updated my bot in quite a while. I touched up on an old command file ...
event handlers 13 messages
cerulean epoch ```javascript module.exports = { name: Events.ClientReady, once: true, execute(client) {variable} ``` Is it ...
Is there a way to check if server banner is just an static picture or animated? 8 messages
topaz kraken For example in the command *Avatar* this works automatically by just doing this ```JS //In embed of course .setImage(me...
setInterval stacking even when clearInterval is being used 9 messages
delicate crane What I'm trying to do is set an interval to run a function every 5 seconds (This is for testing purposes only. Once I fi...
How do i display the ping of the bot and API ping 26 messages
rancid wasp Im useing the latest Discord.js But i cant find a working option any suggest im also useing / commands
Type 2 AutoModeration 2 messages
brave beacon ```js --------------------------------------------------------------------- const logChannel = interaction.options.getCh...
Deleting ephemeral messages? 35 messages
gaunt python So, when I try to use `.delete()` method on an ephemeral message, it returns this error: ```js node:events:491 thr...
v13 deprecated 5 messages
charred inlet is v13 gonna stop being updated?
Can't use Emoji from other Server in followUp. 14 messages
vernal siren Okay so I spent WAY too long trying to understand whats going on. My bot is in a server for custom emotes that it uses...
Link a PostgreSQL database to our Discord bot 5 messages
versed plover Hello, I wanted to create a postgresql database to link it to my discord bot but I don't know how to and if there's any ...
discord.js version 14 (DIRECT_MESSAGE) 21 messages
polar wave Hello everyone, I have a problem with DIRECT MESSAGE, to clarify the whole bot, here is just a simple example. discord ...
998292157150535700
read webpage and show body of page as status 6 messages
jolly imp I have a page,[ http://freeuk24.listen2myradio.com:6524/7.html] and i want the stauts to refresh every few mins and upda...
998292157150535700
how could roleat change with position(name of roleid) string change 12 messages
junior widget ```const { roleMention , SlashCommandBuilder, PermissionFlagsBits, EmbedBuilder, WebhookClient } = require('discord.js'...
can I mix all the bot token in a project and working 2 messages
pliant sun can I mix all the bot token in a project and working?
998292157150535700
Create Forum Tags 11 messages
supple pumice Hey, how can I create Forum Tags? I try it on discord.js
Question relating to DMs 7 messages
edgy dune When users disable permissions for server members to DM them, when a bot tries to DM them, it produces an error. I can u...
Bot not responding to commands 3 messages
pallid helm https://pastebin.com/W7JVjaa9 Whenever I run this code, it just says `This application did not respond` and no error mes...
After interaction.reply() how do I get the interaction's sent message ID? 4 messages
ionic wigeon I've been looking through the docs, but I can't find a way to get the message's ID... it exist though, as a dev account ...
Question 4 messages
steel dove Hi, why its creating a text channel and not a voice channel
Bot unresponsive after failed heartbeat 2 messages
white ore Three times in the last month I have got the message ```[HeartbeatTimer] Didn't receive a heartbeat ack last time, assum...
998292157150535700
How can I get all people that are using voice chat on my discord server? 3 messages
orchid trail Hello, recently I've tried getting all people using my vc and I've ran into an issue with it... The code looks like this...
Enable Community using Discord.js 32 messages
cerulean ledge So, this might be a stupid question, but I haven't found anything about it online. Is there any way for a bot (programme...
permissionOverwrites 2 messages
faint sinew ```js newState.guild.channels.create(String(chname.replace("{user}", newState.member.user.username)).substr(0, 32), { ...
Interaction has already been acknowledged - yet I am not acknowledging it ? 12 messages
arctic siren I have had a look through my code and I will append it below, however, I do not see where the issue is appearing as it i...
Remove Emoji 4 messages
jovial moon How To Remove Emoji From Button Builder After Sent
Remove Label Not Working 27 messages
jovial moon Error ```emojiBtn.setEmoji(emoji).setStyle(ButtonStyle.process).removeLabel();```
Fetching Roles 41 messages
last lantern Hey , im trying to fetch all roles in discord with a specific name , hmmi guess im kinda doing right but i cant undresta...
Delete Interaction Message 4 messages
jovial moon How To Delete Iteraction Message When Button Clicked.
Voice chat join event detection and handling 2 messages
eternal topaz Please god someone tell me how to respond accordingly to when a user enters a VC, the documentation is nonexistent and n...
Button to show modal 7 messages
near shale Hello, how can I show a modal to a user after a button was pressed?
Error whenever I'm trying to start the bot after writing the deploy-command.js 15 messages
autumn pagoda So i've just copied the code down from github under the deploy-commands.js file, but whenever I try to start the bot it ...
Type 'ActionRowBuilder<AnyComponentBuilder>' is not assignable to type 6 messages
uneven halo Type 'ActionRowBuilder<AnyComponentBuilder>' is not assignable to type 'APIActionRowComponent<APIMessageActionRowCompone...
Update Guild Data 2 messages
viral viper (the `memberCount`, it isn't giving me accurate values, about a million lesser) my server started acting weird since ye...
Not enough sessions remaining to spawn 1 shards; only 0 remaining; 5 messages
weak narwhal command: `ts-node-dev --respawn --transpile-only main.ts` when I start the command I am getting this error when authent...
Embed not being sent 47 messages
ashen topaz ^
Discord-rpc 6 messages
wooden tree I cant find the docs for discord-rpc can anyone point me to them?
1003448629866020986
interaction fetchReply attachment URL is different than the actual URL 13 messages
remote kite I'm trying to retrieve the image URL from the attachment using fetchReply, yet the URL/ID seems to be a different one th...
Timeout on deferReply 6 messages
river island Good morning, is there a way to extend the time on the TOKEN for when you have run interaction.deferReply() obvisouly it...
How does Djs bundle everything into one file? 5 messages
mossy belfry Hello! I'm actually new to typescript and everything, but I made myself a small discord.js "utils" library. I was wonde...
998292157150535700
Accessing usernames with the new username system 8 messages
void mural Is it going to stay as `interaction.user.username` or will it change?
problem witch code js 7 messages
peak grove when I use a java script code and I put my bot's token after it no longer connects and it's boring (thank you I'm doing ...
Message content length without Message Content Intent? 7 messages
stray vigil Is there a way to get the length of the content of a message without the Message Content Privileged Intent? My bot was ...
No handler for command? 2 messages
calm sun I've never seen this... help???? https://img.sticks.ovh/inHFaGyx5
[SOLVED] Unable to source error… 13 messages
toxic vale The code `class AutodeleteReply`: ```js class AutodeleteReply { constructor( interaction, client, expirati...