djs-questions

13317 threads · Page 48 of 267

thread.members._add is not a function 244 messages
young shore ```js [UnhandledPromise] TypeError: thread.members._add is not a functionPromise { <rejected> TypeError: thread.member...
node
Can't set role icon 2 messages
pliant egret > Discord.js version: 14.15.3 > Node version: v20.5.1 Code: ```js const customEmojis = content.match(/<a?:\w+:(\d+)>/g)...
embed color 3 messages
pulsar wedge Is it possible to make the embed border color invisible?
node
How to run discord.js in a serverless environment? 4 messages
inland knoll I want to build a bot using discord.js,It runs in cloudflare workers,How can I use discord.js to develop this bot?
Discord API 6 messages
last canopy dm_permission has been removed but I can't find what was added instead. Can you help me? I do not use Builder
Simplifying the API request process 18 messages
fickle rain ```javascript import { REST } from '@discordjs/rest'; import { API } from '@discordjs/core/http-only'; const rest = new...
node
Simplifying API Requests 8 messages
fickle rain Here's the code I'm using: ```javascript import { REST, Routes } from 'discord.js'; const rest = new REST({ version: '...
node
Docgen 15 messages
austere socket Can someone explain me how the @discordjs/docgen module work pls ? I search all the Internet I haven't find any document...
@discordjs package
Strange behavior with selectively sending multiple embeds 15 messages
feral olive I have a welcome message embed. The issue is that the embed will *sometimes* send 3 times in the welcome channel, but co...
@discordjs package
content: '' even when there's a content. 3 messages
fallow linden I am using this basic code - ```js const {   Client,   Collection,   Events,   GatewayIntentBits,   EmbedBuilder, } = re...
How can I fix the ChatInputCommandInteraction? 27 messages
craggy thorn I'm making a command however the `ChatInputCommandInteraction` is not looking right and my command won't show up, how ca...
Slash Command Register 28 messages
dense kernel commands in my server only register for me, when anyone else trys to use them they dont exist Node Version: 20.11.1 Disc...
PresenceUpdate usage 27 messages
hollow oak How can I reduce the memory demand of `presenceUpdate` events, I dont need them per guild, I just need the presence and ...
node
Looking for examples for code structure 11 messages
merry jasper I am trying to understand how I make discord bots according to the standards and what some good code structure practices...
Discord node
discord.js occasionally resending requests, causing double messages 18 messages
fossil fable I've got a feature which sends a message at 00:00:00. However, sometimes requests are sent twice or even three times. Th...
node dev release
Role Select Menu not clearing/refreshing? 5 messages
honest quarry I swear it was working before. The input will not clear. Once the "next-button" is clicked, the message should update a...
node
RangeError [MessageNonceType]: Message nonce must be an integer or a string. 2 messages
fleet marsh hi someone can help me? ``` require('dotenv').config(); const { EmbedBuilder, AttachmentBuilder, SnowflakeUtil } = requi...
A variable is returning NaN even though it's supposed to be a Number 3 messages
celest smelt ```js module.exports = { data: new SlashCommandBuilder() .setName('c') .setDescription(''), asyn...
410 error Discord-Player 8 messages
royal oriole Hello i have probleme do you know why ? In my local bot its good BUT in my vps with same code he dont work ```js "@dis...
[opinion needed] Splitting data fetching to repositories 2 messages
ivory patrol 👋 ⚠️ I post that here because it a way related to djs but isn't a problem with djs itself, more a reflexion of structur...
node
Get Guilds Members 4 messages
worn sorrel how can i get the guilds member using accessToken
node
djs-checker 27 messages
runic silo Hi, what is it djs-checker (https://www.npmjs.com/package/djs-checker) ?
@discordjs package
discordapierror while deploying commands 3 messages
nocturne wolf link: https://sourceb.in/YWeLIeT3tl
how can i script that a staffler get ping when a ticket open?? 2 messages
glacial geyser .
Send Images from MongoDB 2 messages
wooden agate I have been trying to send image from mongodb but nothing seems working ```js const imagePath = "path/to/the/image.j...
thread send message 15 messages
final merlin yo, how can i send a message to a thread id i specified via my discord bot?
modules 8 messages
gleaming saddle Hello, do you have a question? Here I have a project to create a discord bot in javascript speaking several languages, b...
node
Can anybody help me? 2 messages
sullen merlin my warn.js code is: https://sourceb.in/In5H2k2pXo and my unwarn.js code (is not removing the warn, so it isn't working) ...
How can I get number of members in the role without having Guild Members Intent? 3 messages
latent warren ^^
Invite bot Error 2 messages
gloomy flame Im trying to invite my bot into a server but i cant any idea?
how can i delete the youtube link ? 6 messages
glacial geyser in my response message is no where the link
Inconsistent Timing in `ModalInteraction.deferReply()` 7 messages
cedar flax The function `ModalInteraction.deferReply()` is exhibiting inconsistent behavior. Instead of taking a constant interval ...
node
Intents. 5 messages
uneven knoll Same problem as before the what is the code for intents because when I do it with caps it throws and error and when I do...
is it fine to use fs.readline and fs.writeline over and over as a system to store data? 23 messages
winter mantle i use fs.readline and fs.writeline as an alternative to using db's, its an economy bot but its only for like 1 server, w...
Intents 7 messages
uneven knoll I'm having difficulty with the caps i don't know which to choose The tutorial says `IntentsBitField.FLAGS.GUILDS,` but t...
node
How i can fetch polls from message? 8 messages
nocturne wolf I'm asking because i want to make a bot that removes polls if user lacks permissions
Discord.js RPC Extension work ? 3 messages
wanton depot I found this extension https://github.com/discordjs/RPC/ for discord.js which allows the use of rpc, which leads me to 2...
node
HTTP Status code 400 [TypeScript] 3 messages
median basalt Making a bot using typescript that fetches a specific api, then sends the info formatted into an embed. i first start o...
Trying to pull users who reacted to a specified message with a specified emoji, need some guidance 48 messages
twin stratus Here's my code, can't seem to get reactedUsers to populate with the right values. This makes it a map with 0 length. Is ...
Welcome message not sending 24 messages
lean owl HELP SIR
Usage example for Poll? 44 messages
molten inlet https://discord.js.org/docs/packages/discord.js/14.15.1/Poll:Class How do I use this?
@discordjs package
Is screensharing with discord apps a thing now? 4 messages
silk herald Is screensharing with discord ~~bots~~ apps a thing now?
dev release
My bot cant create emoji even though it has create expressions permission 3 messages
severe nexus ^^
Discord Bot Creating Invite Link 6 messages
dusty ledge is creating server invite links using a discord bot when it joins a guild against discord TOS?
Discord
How many subcommand groups can I have per command? 2 messages
wooden agate How many subcommand groups am I allowed to have? only one subcommand group per command? discord.js v14.15.2 nodejs v20.1...
Embeds Style 15 messages
merry nexus Sometimes I wonder how some bots can have their own embeds distinct from other bots? It is square instead of curved edge...
node:fs:1508 const result = binding.readdir( 10 messages
midnight frigate I ran into a problem which is a bit random since the bot worked before but it somehow started showing this to me: I hav...
Command Refresh 7 messages
lean pebble So, I can do node deploy.js and it'll refresh the command list etc, but I have to kick the bot and readd it back into th...
RequestAbortedError when uploading files 5 messages
quasi latch I tried uploading files from 18.3MB and 23.9MB as attachments below one message. I'm getting this error message: `Reques...
Problem when i try to use keepAlive wth MongoDB 2 messages
sonic knoll (async () => { try { mongoose.set('strictQuery', false); await mongoose.connect('mongodb...