djs-questions

13317 threads · Page 60 of 267

I need help with this error 6 messages
custom per-guild welcome message 2 messages
versed apex hii, so i wish to make a customized welcome message system for each guild wherein users can customize their own welcome ...
Embed and console desync 16 messages
fresh wagon Hello. Im trying to make a reaction role like system for my server. On startup it sends an embed on the selected channel...
can anyone help me revise the set position command 14 messages
cursive yoke ```ts setPosition(role: MockRole, position: number) { if (position < 0) position = 0; const rolesToAdjust = th...
Application not responding error 23 messages
warm gulch I followed the steps in this website: https://discordjs.guide/creating-your-bot/#using-config-json, and I keep getting t...
Discord Bot when start 113 messages
node
Send Embed to Channel with ID 16 messages
fiery shuttle I would like to send my embed to a channel specified by ID. Unfortunately it doesn't work in my code. ``` const { Embed...
Server Deafen and Mute 7 messages
primal lion can i remove the server deafen and server mute statuses from a user even if they aren't connected to a voice channel?
fetch the new created channel 8 messages
junior widget ```const { SlashCommandBuilder,PermissionFlagsBits } = require('discord.js'); module.exports = { data: new SlashCom...
12.5.3 Command not working 5 messages
hidden topaz Heres my code, any idea why its not working? const Discord = require('discord.js'); const client = new Discord.Client(...
node
How this method works? 6 messages
lone elk How `client.application.commands.set()` works to deploy commands? and is an alternative for this? https://discordjs.gui...
Hi everyone i have a question can anyone help me? 4 messages
sturdy mural How to set discord.js actually even though i read from the website i'm still confused i even watch some videos too<a:jay...
In autocomplete, how can I get the value of an option type "User" ? 3 messages
dawn thistle Hello, I have a command ``unmute`` which have 2 options : - user (type: User) - mute-id (type: number) The option "mu...
bot status 3 messages
How to get never timeout buttons 14 messages
fallow linden I want my buttons in messages to get interactions forever. Even when I re-run the code, it must still give interaction r...
null value from slash command option 25 messages
addition and subtraction 4 messages
help with simple ping command ;-; 4 messages
nodemon: error 3 messages
node
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...
@discordjs package
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 16 messages
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...
@discordjs package
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
switch category 5 messages
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...
node
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 ...
@discordjs package
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...
node
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...
node
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...