djs-questions

13317 threads · Page 23 of 267

Timer and Answer Processing Bug in Multiplayer Discord Quiz Bot 3 messages
Disabling A Button Through CustomId(handler) 19 messages
jovial gust ```js const { SlashCommandBuilder, EmbedBuilder, PermissionFlagsBits, ButtonStyle, ButtonBuilder, ActionRowBuilder } = r...
captcha system 7 messages
granite urchin im making a captcha system but it keeps throwing the interaction failed. i just need someone to tell me what i did wrong...
Trying to get member/roles without being rate limited 47 messages
primal horizon I have a bot that is in ~20k servers and it does some work to role-gate certain features in our application based on ser...
node
can discord bots have a custom status emoji? 2 messages
wheat grove I know that recently discord allowed discord bots to have custom status messages, but i can't seem to find where i can a...
node
messageUpdate with Partials 13 messages
vapid torrent I am working on a auditlog feature for my bot, but I ran into a problem when i was working on the messageUpdate handler....
discord bot with AWS 4 messages
remote basalt Hey folks, currently working on a application using discord.js that does the standard on thread create/update event acti...
Bot's Cache and Fetching 5 messages
steel oyster Hey everyone, I'm looking to understand how the cache works and what would be the most efficient way to ensure that the ...
bun
Require Vs Import, trying to "import" another script via the require method. 4 messages
verbal meteor So I was following the discordjs.guide site on setting up the bot and they used require for everything, ```js const fs ...
@discordjs package node
/Announce command 7 messages
keen vortex Hiya, im just a bit stuck on making a /announce command like this.. (attached image) you do /announce, the pop up comes ...
@discordjs package
Start.bat 3 messages
lofty sierra How do I start my bot through the starter.bat I can't find reliable documentation
node
our bot doesnt start up fully 12 messages
obsidian leaf Github: https://github.com/FadeBlockMC/Discord-Bot the bot starts up so it works on discord but at the server it says "s...
Bot Not Reading DMS 2 messages
full sand This bot will not read it's dms, it doesnt even know its being dm'd. I dm the bot, nothing happens
node
Shards and presence 4 messages
strange wraith Hey, I’m looking to get a rotating presence on a discord bot. The bot auto brings up around 38 shards, and so the presci...
node @discordjs package
Why am i have something like this 10 messages
real breach I want to add a button with a website and some socials, but instead of just 'leaving Discord,' I have 'potentially dange...
node
Adding permissions 13 messages
ember flame why this code isn't working? ```js permissionOverwrites: [ { id: interaction.guild?....
@discordjs package
Handle interaction after restart 8 messages
marsh venture Hello, I am making a restart command. It sends a message saying it is restarting. When it has restarted, I want it to ed...
deno
Any Dev teach me? 6 messages
balmy ermine Any developer who can give me a hand or help me with some Discord stuff? I'm quite interested in learning even if I'm lo...
dev release
Collecting multiple modal submissions 25 messages
ionic surge I have a command that replies to the user with some buttons. These buttons show the user a modal. I am using the awaitMo...
Collecting modal submissions 3 messages
ionic surge I have a command that replies to the user with some buttons. These buttons show the user a modal. The button clicks are ...
How can i draw a palestine flag in discord.js bot ? 6 messages
tired trellis How can i do that like via ASCII ??? please
node
How do i get interaction's integration type (the ApplicationIntegrationType class)? 54 messages
ember steeple I tried to look in the docs and poke around with typescript, found nothing
node
My embed doenst work #embeds 14 messages
real breach my embeds dont send, but messages usually do. I tried to change the code and looked for help with gpt but emebed still d...
node
What is the enum for the portuguese localization 20 messages
frail ledge i want to localiza a command to brazilian portuguese but all of the strings ive tried dont work.
node
Formatting Discord Response Messages 8 messages
sour phoenix Is there a way to modify the responses from Discord API wrapped by DiscordJS ``` GET /guilds/xxx/channels null -> 503 - ...
node
GuildAuditLogEntryCreate & Typescript 4 messages
tawdry sparrow ```ts export const handleAuditDrag = async (entry: GuildAuditLogsEntry, guild: Guild) => { if (entry.action === Audi...
Is there a problem if I use 'force: true' everytime I want to fetch a user? 7 messages
shy python So, I'm doing some testings to one of the commands of my bot, before adding it to the rest. My idea is to always try to ...
node
Slash commands : Default Permission to a role ? 10 messages
jade vector I would like to know if it possible to restrict the **view** of the commands (not the usage) to a specific role ? Or we ...
node
slash commands not showing up 22 messages
wide thicket i have a file `register-commands.js`where i register slash commands but it is not appearing in discord client ```requir...
@discordjs package
how do i actually donwload discord.js 4 messages
astral forge i went onto the website, there was no download link, i downloaded node.js and ran the commands i can in windows powershe...
node
badges 15 messages
daring star Hello, I'm doing a command where I pull the badges from the user's profile and I'm trying to pull nitro, but I can't pul...
node
Slash command limit 15 messages
fringe prairie Hi, i think the limit of slash commands was 100 global and 100 guild but for the 100 guild ones is it a limit of 100 per...
Editing an embed 10 messages
ionic surge I remember seeing a video back when I was learning discord.js where someone edited a embed without having the edited tag...
Bot DMs Checking 27 messages
torpid horizon Is there a way where I can check all my Bot's DMs with users?
Deprecated form creation functions on discordr.js 22 messages
node
VSCode inconvinience 65 messages
short sandal My code runs fine with tsc and with ts-node but when i start vscode it starts to generate errors and idk why is that.
node
Object literal may only specify known properties, and 'dynamic' does not exist in type 'ImageURLOpti 7 messages
shadow atlas ``` .setThumbnail(user.displayAvatarURL({ size: 1024, dynamic: true })) ```
Property 'getUser' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType> 5 messages
shadow atlas Property 'getUser' does not exist on type 'Omit<CommandInteractionOptionResolver<CacheType>, "getMessage" | "getFocused"...
how can i make my bot online forever 7 messages
topaz dome im just beginning and trying to learn it i am using VSCode idrk what i am doing and where i can start.
node
Help stuck 2 messages
shy hill i did all the steps but yet i still dont see a trash icon on the discord browser
Discord JS Modal / Interaction 8 messages
stark latch Here is the part of the code that I think doesn't work properly. https://paste.pythondiscord.com/UCXA There is no error ...
node
how do i fix this error which i have no idea of the why its here? 24 messages
node
image in embed 13 messages
tidal python I'm working on something and I'm genuinely confused why this doesn't work. I've looked at previous questions about it bu...
receiving InteractionCollectorError after assumed fix 50 messages
naive valley https://srcb.in/ldSaMiZGcn I assumed by adding the .catch, the bot would stop crashing.
How to get user subscriptions in v14.17 4 messages
brave pewter I am looking for a way to get all the user subscriptions when they use a slashcommand. How can i obtain all the subscrip...
node
Vanity 27 messages
torpid horizon How do fix my code to work, it only checks members who have joined instead of all members:
Audio not playing despite properly retrieving URL to audio. No errors. 7 messages
@discordjs package
Mentioning users showing as unknown-user 12 messages
silk panther ```js const result = await User.find( { guildId: guildId } ); let us...
Expected SlashCommandSubcommandBuilder 4 messages
silk panther ```js data: new SlashCommandBuilder() .setName('user').setDefaultMemberPermissions(0) .setDescriptio...
@discordjs package
Hellp i wanted to make a /timeout command but it doesnt work command is deployed 103 messages
misty pasture i checked it with a bot developer he saw the code and theres no eror