djs-questions

13317 threads · Page 39 of 267

Am trying to add a modal to update a embed 5 messages
north temple Am trying to add a modal to update a draft embed, the modal should have a post title and description as required and ima...
Discord-Modals Error 4 messages
placid ivy Error - data.components[0].components[BASE_TYPE_BAD_LENGTH]: Must be between 1 and 5 in length. case 'permit': ...
Emojies not working with select 8 messages
dusty bluff ```const { ActionRowBuilder, StringSelectMenuBuilder, StringSelectMenuInteraction, InteractionType } = require('discord....
Error : Could not resolve channel to GUILD_VOICE 6 messages
low hazel im trying to create an event through slashCommandBuilder but it doesnt seem to work. the params are passed succesffuly b...
[ERR_IPC_CHANNEL_CLOSED] 32 messages
fast tusk Since a few days this error randomly occurs and the shard then goes offline. The error: ```js Error [ERR_IPC_CHANNEL...
node @discordjs package
why this happend 13 messages
unborn falcon why this happend
Issues editing automod 4 messages
mystic cliff I'm currently trying to edit my automod rule to have a timeout duration, when I try adding a timeout duration, it is sen...
error message 3 messages
wintry arch PS C:\Users\nicky\Downloads\Anarchy> npm start npm ERR! code ENOENT npm ERR! syscall open npm ERR! path C:\Users\nicky\D...
@discordjs package
Discord seems to have troubles editing an interaction, but still doing it 53 messages
narrow meadow I have troubles handling interactions reply with the single function below: i have a board with buttons, and when using ...
Checking user permissions on guilds 3 messages
split raven ```js app.get('/dashboard', ensureAuthenticated, async(req, res) => { if (client && client.user) { try { ...
Problem with fetching members with roles 6 messages
astral hemlock ``` const TEAM = ['1268886403756982312','1268886902879027220','1268886992150728774','1268887041559494721','1268887056961...
node
Help with error: TypeError: (intermediate value).setName is not a function 5 messages
covert mulch I am getting this error when trying to execute a message delete command. The goal is to delete a message using the mess...
Possible to stream video of webpage through Discord.js bot? 10 messages
lilac wadi Hello! I'd like to create a bot that can stream a live view of an HTML5 canvas during a call. Is this at all possible? I...
Discord.JS IntelliSense isn't working for my slash command. Any advice? 4 messages
thorn mortar Everything works, I simply just don't get the IntelliSense, my imports seem correct, but I can't seem to figure out what...
Weird problems with disappearing slash commands, "Unknown Integration" 20 messages
restive bison TLDR; Slashcommands disappearing after single use, spitting out "Unknown integration". Re-adding bot to server resets th...
bun
Troubleshoot Memory Issues 9 messages
normal forge I have one app that is regularly getting killed by the system for memory consumption. Any tips on how to begin troubles...
Member role and welcome channel not working 6 messages
final field Why is my code not working
Cannot create permissionOverwrites for users with server booster 28 messages
lilac abyss Hi, I implement some manual "mute" action for my bot (so that the user can see the channels, can't message but can inter...
Using discordjs as a standlone file without nodejs 9 messages
granite swan When trying to use https://www.jsdelivr.com/package/npm/discord.js Action.js:3 Uncaught ReferenceError: require is not...
Is there any benefit from using <ComponentCollector>.removeAllListeners() on the "end" event of it? 3 messages
late sky Like freeing up memory or increasing performance, or nodejs handles this already?
node
Unable to change the “Link” style button to a different one 3 messages
How to get the previous message from a message ? 9 messages
full radish Hello! I would like to get the previous message from a message, and create a link like `https://discord.com/channels/${...
Bot refuses to send messages because of missing access. 16 messages
vast sigil Stack trace: ``` DiscordAPIError[50001]: Missing Access at handleErrors (/home/jake/finnbot/node_modules/@discordjs/...
Message vs InteractionResponse IDs 4 messages
sturdy geode I'm setting the reply ID as a key in Code 1. edit that reply in code 2. and then try to find the key in the Map in code ...
node
Application didnt respond 14 messages
sullen merlin When I start the bot with node index,js and after node deploy-commands.js no error, but when I type in the command in di...
Generating embeds but size exceed 6000 8 messages
wheat ice Hey, i've got an array of fields and i'm generating an array of embeds that i send like this : ```js const embeds = []...
how can i make a footer that display the bot icon and name and time that the command was run in 5 messages
misty pasture how can i make a footer that display the bot icon and name and time that the command was run in
The application did not respond 8 messages
Button Premium SKU 4 messages
glass dome Hi Discord Developer Team, I am currently working with the latest version of discord.js and have encountered an issue r...
node
a command prefix sill supported? 4 messages
dusk crane i want build discord bot w/ discord node.js, but i don't see any example. So does node.js finally support command_prefix...
channel message size 2 messages
scarlet sinew Anyway to get the message count in a channel?
Impossible to timeout members from GuildMembersManager object 7 messages
wanton depot Hello, in my script I tried to timeout a member from the GuildMembersManager object as it is possible with kick or ban b...
Custom Activities Feature 7 messages
glass dome Hello, I would like to know how to add custom activities via the bot. Specifically, I would like the bot to be able to ...
How to get Client object from a Shard? 6 messages
fringe panther I need to process some async data. So I'm not rellying on discord.js events like message create, but something like and ...
node
How to use getAnswerVoters for new polls 12 messages
brave kindle Not sure if its just not fully implemented yet or what but I cant seem to figure out how to get the function to be calle...
node
Executing other commands using buttons 3 messages
outer totem Hello! I'm working on a setup command that shows features (mod logs, welcome channels, autorole on/off, etc) and lets us...
re 25 messages
misty pasture how can i make when i say re the bot answer with $rename By {server member’s nickname the bot just say that
server boost event and boost revoke event 20 messages
odd swan is there a way to detect when a server gets boosted and when the boost gets revoked?
node
how to use discord.js selfbot 3 messages
User App Install 2 messages
covert nest Is there any event I could receive to know when someone authorizes my app as a user application?
Channel not found! 27 messages
earnest eagle Dear everyone, i'm learning the basics and for learning purpose i wanted to create a fivem server status script. I got s...
Adding Slash commands 39 messages
outer mica Hey i need some help i am trying to add a simple Slash Command but i always get no awnser from the bot. I registered the...
node
Get icon of current game from Member object 8 messages
old spoke Hello! I've been working on a project that uses Discord.js to grab the current activity of a Guild Member and display it...
node
create channel overrides adds to interaction.channel instead 4 messages
copper pilot When creating a channel with permissions overrides, it seems to add the overrides to the channel from where interaction ...
How to get attachments from a message? 4 messages
lucid parrot Hey, i'm recently having some issues with attachments. I want to get the attachment that an user uploaded and then resen...
Cache: FALSE 18 messages
quick fjord ``` const content = await imgchannel.send({ files: [{ attachment: url, name: `memex.${extension}` }], em...
Autocomplete not using value given but instead name 12 messages
tardy sedge This is the code ```await interaction.respond([ { name: 'Option 1', value: '1' }, { name: 'Optio...
My bot isnt logging in 8 messages
gleaming copper im using config.json to login in for my bot but its not working i tried adding the token manually still didnt work
node
Uploading larger files fail, when uploading it to my discord bot 22 messages
elfin juniper when trying to upload, mostly videos, it fails and i get thsi. The problem is, the file never even reaches the discord b...
node
button/command premium (SKUs) 2 messages
brittle owl Hello ^^ I want to know how to make the bot check if you are premium or not via the SKUs for example, I do /pong, and i...
node dev release