djs-questions

13317 threads · Page 61 of 267

User Mentions Issues 37 messages
high oak I've read several times on this server and elsewhere that there is an undocumented mention cap of 10 per message (includ...
node
Problem with embed interactions 9 messages
tacit osprey Hey everyone
Using collector.on('end') to edit reply? 34 messages
rigid kestrel I'm trying to create a polling bot that edits their reply once the poll has concluded, but i can't figure out how to do ...
Follow up response 27 messages
scenic belfry Im attempting to get the response of a follow up, after a slash command and a button click Basically want a ban button a...
node
How to remove choices (mulitple choise stringselect menu) 23 messages
Duplicate messageUpdate events in sharded bot 22 messages
subtle sandal I'm receiving duplicate messageUpdate events and I'm not sure why. I have tried storing messageId in redis and checking ...
Hot loading 5 messages
normal forge Is it possible to hot load commands and event handlers?
Do we've to register slash command for each server the bot is in ? 9 messages
worldly plume I can't make it more clear but I will try : If I'm making a bot that can run on many servers.. Imagine a Bot that helps...
Intents 8 messages
scenic stump Hey there Developers, I have a question relating to intents. What are the intent names? I keep gettting them wrong, h...
CAROUSEL IMAGE 4 messages
wind violet Im just a beginner in this frontend, I have tried everything to make my image to cover the entire width of the carousel ...
Slash Commands not showing up 15 messages
pliant light I followed the discordjs.guide but when I type / in server, I can't see my bot's slash commands. deploy-commands.js: `...
Typescript build failure 12 messages
somber karma Hey guys can anyone help me with this error? Node v20.11.1 djs v14.14.1 TypeScript v5.4.2 ``` node_modules/discord.js/t...
node @discordjs package
Only permit a certain user to use a slash command 3 messages
tepid mortar Hello! I'm currently developing my first discord bot and have a slash command which I use in dev to create my db with al...
Does the ShardingManager automatically scale up or does the bot need to be restarted every so often? 6 messages
late veldt Hey I'm looking to develop a bot for a website which is expecting a lot of quick adoption and we're looking into scaling...
Building an Efficient Bot: Task Automation and Resource Optimizatione 7 messages
summer tree **I would like to create a bot that needs to perform a task job every 5 minutes.** Here's what the task do: 1. Retriev...
Does anybody know of a hacky way to get INTEGRATION_TYPES to work 2 messages
uncut fog Im trying to add support for user installation of my bot and i want to enable 2 commands on user installs using INTEGRAT...
Emoji steal command. 43 messages
young meadow i hate coding and trying to find code that does work i litrally have tears anyways <@166263335220805634>
This interaction failed 3 messages
final sandal ```javascript export default { data: new SlashCommandBuilder() .setName('generate') .setDescription('Generate ...
Is it possible to send a DM from bot to another bot 8 messages
round beacon Hi. I'm trying to send a DM from a bot to another bot. I'm getting error: `Cannot send messages to this user` Both bots...
Interaction Button Collector Not Working 6 messages
wild mesa https://sourceb.in/G962dmbTid I have this button interaction collector that completely gets skipped over. And this piece...
[14.14.1] Check if awaitMessageComponent hit timeout or some other code failed 6 messages
stray vault Would it be possible to detect whether awaitMessageComponent failed because of the timeout, or some other error occurred...
node
How do i encrypt my token? 55 messages
glossy turret I've seen some users hide their token, can someone tell me how to do that? when i run ,eval session.token it sends my to...
How can I get the content of the message that the bot sends? 6 messages
elfin bronze <ref *1> Message { channelId: '1221859309558698054', guildId: '1220786860604002446', id: '1221863417674203277', ...
Bot not able to send some emojis from another servers 25 messages
warm galleon My bot is not able to send some emojis even tho its in the servers the emojis r in, it just sends `:emoji_name:` instead...
Polls 2 messages
spiral inlet Hey how can I make the new polls using rest?
@discordjs package
how to add in thread channel tags? 3 messages
formal merlin Hello, how to add in thread channel tags? https://sourceb.in/qOJl0dgGFI
Quick Question 5 messages
silent pewter What is the thing to make it say "In a hour" or "In a week" and so on
Error with a invalid form body 4 messages
minor narwhal I keep getting this error ```js There was an error: DiscordAPIError[50035]: Invalid Form Body name[BASE_TYPE_BAD_LENGTH]...
error with the handler and anti-link command 3 messages
vital pollen so, i get that error: https://srcb.in/VgjjUb0igW I deleted and edited some files and found that the error was because ...
Could anyone identify what this is named is this like a hover tooltip? 3 messages
i need code help 9 messages
mental granite ```js pm ERR! code ENOTEMPTY npm ERR! syscall rename npm ERR! path /home/container/node_modules/debug npm ERR! dest /hom...
broadcastEval() and Typescript 27 messages
upbeat sonnet A bit at a loss here, trying to use .broadcastEval to run a function on all shards, for this function I would like to ad...
node
🚨・Unhandled promise rejection 15 messages
topaz pilot ``` Error [ShardingReadyDied]: Shard 0's process exited before its Client became ready. at Shard.onDeath (/home/cont...
node
Put token but say invalid 48 messages
untold socket I put the token in first line in index.js but he say token invalid
@discordjs package node
ExpectedConstraintError > s.string.lengthLessThanOrEqual 3 messages
error 23 messages
hardy sage ```js const { SlashCommandBuilder, PermissionFlagsBits, Client } = require('discord.js'); const { EmbedBuilder } = requi...
node
where is the error 70 messages
hardy sage ```js const { SlashCommandBuilder, PermissionFlagsBits, Client } = require('discord.js'); const { EmbedBuilder } = requi...
node
Anyone have any clue what I am doing wrong 20 messages
zinc hull ```js // Get the mentioned member from the message const member = message.mentions.members.first(); ...
node
Why doesn't my client see /commands? 7 messages
node
Request to use token, but token was unavailable to the client. 59 messages
obtuse cave ```js const { Client, Intents, MessageEmbed } = require('discord.js'); const fetch = require('node-fetch'); const client...
node
Install Error 3 messages
narrow breach I get this error when I install discord.js and when I enter `npm audit fix` it does not fix itself. Do not understand wh...
Caching 48 messages
quick fjord Idk what do with caching anymore, I tried sweeping and tbh it doesnt work. I removed the call of messagecontent intents ...
start up error 4 messages
topaz pilot Every time I run my bot I get an error message saying ``` Error [ShardingReadyDied]: Shard 0's process exited before it...
node
I'm completely new to js and want to start by making a discord bot. 6 messages
dire pivot I'm completely new to js and want to start by making a discord bot (which I need anyways). I'm not sure where to start t...
embed not working sometimes on random cat image command 5 messages
random vapor I have this command that sends a random cat image from an image link. Sometimes they arent embedding and sometimes they ...
node
GuildMemberRoleManager has no properties or methods 4 messages
vital flicker I am retrieving a subcommand member option and for some reason member.roles has no properties or methods. Why is this? `...
Premium function 6 messages
light owl Hey, I added the premium feature of Discord to my Discord bot, how can I now find out in Discord.js whether the server h...
ValidationError: Expected the value to be an object, but received string instead 17 messages
river dust heyo, why does it dont lemme using strings? 😩
node
Error in translate command "Unknown interaction" 16 messages
random vapor Hello, this is a code for a translate command via contextmenu command, i cant figure out what in the code is causing thi...
node @discordjs package
Will djs support the new polls? 7 messages
ancient beacon Like if someone creates a poll we can delete it
@discordjs package dev release