djs-questions

9202 threads · Page 59 of 185

nodemon: error 6 messages
1150878580193116250
Memory 30 messages
quick fjord hey so, im using chokidar + function to send a message to a channel but everytime i do. Im assuming it caches the attach...
Issue with inviteCreate event 11 messages
winter minnow Hello. I have an issue with the `inviteCreate` event where it won't fire unless the invite created has some sort of uses...
My bot won't start 37 messages
buoyant maple Code: ```ts require("dotenv").config(); const { Client, GatewayIntentBits, Partials, ActivityType } = require("discord...
A question about Modals 3 messages
bitter rock Can i set description in modals? Like i wanna show Regions Available - Brazil, India, US, etc . I cant put it in label p...
Reacting after Interaction Reply with Embed 4 messages
last rain I have checked the document and from what I understand, I need to code it like this const message = await inter...
998292157150535700
post channel trough bot 39 messages
fringe prairie Im able to create a thread using the bot on a text channel but for some reason i cant make one into a post channel (i wa...
help 6 messages
DiscordAPIError[10002]: Unknown Application 15 messages
How to add follow up questions to a DM collector 1 messages
safe kayak Ex. What is your name? Collected response How old are you? Collected response
Trying to make a help menu using button builder 24 messages
grand topaz Im trying to create a menu for my help menu that changes it's buttons based on what page it's on and change the embed ac...
guildMember.premiumSinceTimestamp 28 messages
rocky cedar does this update to the timestamp of the latest boost, when a user boosts again?
Authorization Application 5 messages
hollow spade It's possible to use discord.js as not a discord bot but an application that fetches user gmail and username or all user...
998292157150535700
Shards 6 messages
quick fjord how does sharding work: one shard can have many processes? or one process can have many shards? or one shard has only o...
incorrect file path 49 messages
soft galleon how
Select Menu - Select Menu Roles (Default select options) 3 messages
midnight jacinth Is there one option to set default selected options if the select menu is with maxLenght(5), like to show pre-selected o...
Bot Scaling 5 messages
quick fjord As my Discord bot experiences rapid growth and gains traction across a large number of servers, I need to understand the...
1150878580193116250
Slash commands not getting registered. 21 messages
slender narwhal I've followed the application, but the slash's commands arent getting registered. dont know why.
Aligning field value text to center in an embed 2 messages
crisp bone I want the ‘1’ here to be aligned to center center depending on the field name length. Is this possible?
Locale Descriptions 4 messages
supple pumice Hey I'm currently trying to use locale description with my bot. I have following code which is not working: ```js ...
998292157150535700
Type error in Button Builder 13 messages
grim aspen ```ts module.exports = { setup: (client: Client) => { client.on(Events.InteractionCreate, async (interaction) => ...
client.on Error 5 messages
fiery shuttle Hello. The first Code block are my Code and the Second is the Error. ``` const { SlashCommandBuilder, EmbedBuilder, Act...
how to avoid api spam when sending "mass dms" 12 messages
lilac thicket Occasionally (like twice a year maybe) my friend organises a kudoboard for the content creator he mods for and he always...
1150878580193116250
Am I being rate limited? 16 messages
stark wave I am editng a message in 3 different servers after 5 seconds. Sometimes it takes a long time to update something, and th...
Trying to make a bot that after a member has two roles it automatically gives the verified role 11 messages
robust hinge Hi, I'm trying to make a bot that after checking if an user has two roles it gives the verified role and removes the two...
Subcommands 15 messages
quick fjord Hey i have 3 slash commands, setup, setup_image, setup_video, i tried making the setup_image into "setup image" and it w...
Using intents in V14 26 messages
wind yacht I just updated a repo to v14 but cannot figure out how to wrangle intents at all. Can someone show me code that works co...
Can't edit a channel 14 messages
winter minnow I have a code for aa button that "closes" the ticket open. The code works fine, till i "re-open" the ticket back (using ...
Is it possible to collect data from a discord message. 8 messages
sturdy parcel Hello, im in a server with an embeded message in a channel and it had numbers in it that update, i was wondering if its ...
auto sharding randomly stops 4 messages
solar pumice my bot sometimes die randomly without any error, it just stops working, the bot goes offline, the process is still alive...
1150878580193116250
No response from client 46 messages
modern veldt I don't know why and by the way the "Command" word printed is the on on the client.on('ready')..., not in the tickets_sy...
Cycling through different embeds with button 8 messages
wet widget I have 3 button, when you press one, it sets the pressed on as primary and disables it and sets the other 2 as secondary...
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...
1150878580193116250
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 26 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...
1150878580193116250
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: `...
I always get an error afte typing nodemon 1 messages
upper burrow d
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...
1150878580193116250 998292157150535700
addIntegerOption 1 messages
reef dirge how does addIntegerOption work? since i can't find it online .addIntegerOption(option => option.setN...
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>