djs-questions

9202 threads · Page 94 of 185

I dont know what this error means 16 messages
turbid meadow the error: ```E:\Discord bots\Custom bot order\events\connect.js:2 const chalk = require("chalk"); ^ Erro...
is there a good way to respond to user dm once 24 messages
devout ivy Say a user dms my bot. I would like to respond to the user a specified message, if met the conditions: If the specified...
1150878580193116250
Getting file size from URL 3 messages
bold marlin Looking to get the file size of a discord video given the URL
998292157150535700
get channel permission for user 9 messages
rigid knot is it possible to check if user has a certain permission in channel for example ```js let ow = message.channel.permissio...
1150878580193116250
How can i do bot have invisible status like d.js docs#1083 12 messages
frozen roost How can i do bot have invisible status like <@348607796335607817>
998292157150535700
can i get the solution for this 52 messages
lime breach node:internal/errors:496 ErrorCaptureStackTrace(err); ^ TypeError [ERR_INVALID_ARG_TYPE]: The "emitter" argumen...
998292157150535700 1150878580193116250
guildCreate event doesn't flag 27 messages
reef whale Hi everyone, i attempted to make a simple whitelist system that checks if a servers ID is in a list of whitelisted serve...
Creation of a channel and adds a role to this channel 12 messages
narrow needle Hello! Sometimes, not always, when my bot creates a new channel for a ticket system, it doesn't add the role configured ...
@discordjs/ws code ABORT_ERR on login 1 messages
amber cradle I've been writing a discord bot with bun for the past few weeks, everything works fine until today Im getting this err...
1150878498534199426
edit ephemeral embeds 29 messages
full linden I have an ephemeral embed which has one ActionRow with 3 Buttons (Which you can find in the attachment ). The left butto...
1150878580193116250
Can incoming webhooks work directly with the app/bot? 5 messages
lofty nimbus Hi. Is there a way to have a discord incoming webhook work directly with a bot or do you have to work through incoming m...
Invite code field 5 messages
cold sand Is there a way to access this field from the D.JS api? Thanks
Simplifying embed usage 13 messages
turbid oxide Hi, I'm wondering if there is a way to not repeat the full embed builder every time I need an embed ? I already thought ...
I know this question might not be about discord js 2 messages
nimble wolf I am already authorized to add, I would like help with how I can do this from the api using my bot, using oauth2
Circular Dependency Issue 5 messages
stark quest Hey, I'm currently experiencing a weird circular dependency issue. I have 3 typescript files, 1 main file, 1 file to imp...
1150878580193116250
MongoDB cant get an item to be added to a shop schema 4 messages
turbid meadow hi, so basically im very lost, im trying to make it so a bot can have a custom shop with itemName, itemPrice and itemDes...
Reaction on message based logic. 5 messages
hoary meteor Hello! I'm new to discord js, and i'm lost on what i "need". Would love some guidance/links to a guid/docs that can help...
How to receive webhook update gateway events? 6 messages
heavy gorge Hello, I'm trying to receive webhook events through the code below: ```ts import { Client, Events, GatewayIntentBits } ...
AutoModerationActionExecution does not trigger 6 messages
onyx wasp When someone says a blacklisted word it gets deleted by autoMod but the event does not trigger. code: ```ts import Disc...
1150878890307358882
Meme Bot 11 messages
lost hound I'm making a meme bot for my friend thats essentially a "Messi Bot" and whenever someome says ronaldo w or ronaldow, it ...
"invalid string length" error 7 messages
balmy shell full code: ```js import discord from "discord.js"; import fs from "fs"; export default { name: "commands", descript...
998292157150535700
await not behaving nicely after displaying a modal 19 messages
still spoke Very silly question relating to async/await. After I display a modal, I collect the input using: ```js var submittedMod...
Connecting to a website 2 messages
outer karma Is there a way to use discord to login to a different website, im asking here cause idk if we need a bot for that or the...
986538542350086175
Process exited with code 1 3 messages
sour swallow <:waveBoye:985607731417329674> Hello! I have a tiny problem, I'm not sure If It's much of a problem tho. I can still run...
ModalSubmitInteractionFieldNotFound 18 messages
vital scarab This error appear in ALL modals (after new updates). Why might this error appear? This happens when sending data throu...
Modal submit, 2d time, crashes app 9 messages
hoary meteor ```js const { SlashCommandBuilder, ActionRowBuilder, Events, ModalBuilder, TextInputBuilder, TextInputStyle, Interaction...
client.rest.queueRequest() 13 messages
somber vessel Does anyone have a example? I can't get it to work
998292157150535700
Is it possible? 2 messages
valid sinew We run a coding course where we provide lectures and 24*7 doubt support. We wanted to implement a way so that our mentor...
ESlint error 4 messages
rare rain I am getting an error from ESlint in the following code: ```js const channel = client.channels.cache.get( data.sugges...
How can I get emoji ID? 18 messages
vale crow For example 📢 with \ in front does not yield anything, please help
Interactive Button Data 2 messages
mint oriole I want to make my Button label interactive but somehow it doesnt change when the variable changes: ```js const el = {pow...
Modal Interaction 120 messages
grave stone Hi there, well appreciated to have your assisting... I am new in discordjs currently trying to create a ticket bot for...
1150878580193116250
guildMemberUpdate 6 messages
dense kernel Issue: **anytime someone's roles is updated or they change there nickname it double/triple posts to my logs channel and ...
How can I add tag to discord forum using djs. 26 messages
vale crow Hello I am creating forums with but I wanna add tags.
applied_tags field 5 messages
nocturne halo Hello! Is it just me or is the `applied_tags` field missing from the edit methods (RESTPatchAPIChannelJSONBody)?
998292157150535700
voice problem 2 messages
pliant forum no error but it didn't play the song ! ```js else if (args[0] === prefix + "play" || args[0] === prefix + "p" || args[0...
Buttons will not re-enable 4 messages
gusty thistle I have a pagination system that should disable and enable buttons depending on what page the user is on. The buttons wil...
Attachment to Embed 3 messages
gleaming schooner How do I attach an Attachment to the Embed Image? ```js const attachment = new AttachmentBuilder(canvas.toBuffer(), 'lb....
Is there a way to escape the "hide link embed" markdown sequence? 13 messages
signal coral I just checked `escapeMarkdown`. It allows me to escape pretty much all Discord-flavored markdown sequences, except for ...
1150878580193116250
wiki command 9 messages
fossil trail Hi, i want to know is it possible. I am making a discord bot for my War Thunder squadron, and i wanted to do a /wiki com...
1150878498534199426
Images 5 messages
dusk breach So, i got a suggestion for my ticket bot, the user suggested that i added a thing where you can upload an image and have...
How to use @discordjs/proxy 3 messages
patent snow I just want simple explanation, with an example if possible.
@discordjs/core and REST 3 messages
vestal iris how do I add some roles to a userid or remove roles?
998292157150535700
getting user profile pictures from interaction 4 messages
solemn quarry hey, short question, but how would u get the profile picture of someone who used an interaction?
1150878580193116250
Get ApplicationCommand API data 9 messages
glad canopy Hi, how would I get API compatible data from an ApplicationCommand object? `.toJSON()` also returns stuff like `guild` a...
Just a question, dropdown menu (detailed in message) 5 messages
outer forum how can you add roles to a person who selected a specific option from dropdown menu
I need help setting up 32 messages
copper mesa Can anyone assit me
1150878580193116250
do can chatbots web apis hack discord bots 2 messages
jaunty mist I seen web chatbot that ppl say it hacks but i don't believe it because machine fetches not download things to get hacke...
Editing a message gets slower with time 37 messages
onyx bronze Hello, i'm currently making a discord bot. Basically, all the bot needs to do is to edit a message every 1.1 second (to ...
HTTPError: Bad Gateway 9 messages
sleek shuttle I'm just curious about why this error occurs