djs-questions

9202 threads · Page 38 of 185

[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...
1150878580193116250 998292157150535700
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...
998292157150535700
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...
1150878580193116250
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...
1150878498534199426
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?
1150878580193116250
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 ...
1150878580193116250
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
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...
1150878580193116250
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 ...
1150878580193116250
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...
1150878580193116250
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?
1150878580193116250
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 38 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...
1150878580193116250
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...
1150878580193116250
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
1150878580193116250
Don`t working slash command 1 messages
torn tapir ```js const { SlashCommandBuilder} = require('discord.js'); module.exports = { data: new SlashCommandBuilder() ...
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...
1150878580193116250
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...
1150878580193116250 986538542350086175
Can someone figure out what is wrong with this script? 30 messages
potent socket Text file with script below, i cant figure out what is wrong with my script because in the terminal (im using vscode wit...
Interaction returning undefined 1 messages
dusty bluff Any idea why my interaction is returning undefined? I can't check if its a select because it is just returning Client: `...
Need Help 2 messages
hot terrace Uncaught Error Error: ENOTDIR: not a directory, scandir 'C:\Users\####\source\repos\FedMarketBot\FedMarketBot\commands\c...
Cache of GuildMembers 13 messages
swift gazelle Hi, how long does it take for the bot to delete members from cache? For get some full members of some roles i put this c...
API help Discord.js 14 5 messages
blissful gazelle I am working on a slash command that takes all players from a link / API with name and ID of a game. These IDs are taken...
Can @discordjs/opus be installed on Google Project IDX? 2 messages
upbeat trail When I tried to install it on my project that uses Node 20.11.1 and discord.js v14.14.1, it gave an error and wouldn't i...
1150878580193116250 998292157150535700