djs-questions

9202 threads · Page 24 of 185

Logic for Voice Channel Deletion 2 messages
low sluice Hi all, just looking for clarification of logic before I go down the rabbit hole coding for it to not work. If user's ar...
Understanding Error 5 messages
normal forge The following error is showing up in my logs occasionally. I have a basic understanding of the causes of an unknown int...
1150878498534199426
create an embed, where you click a button and it will open a DM with the bot? 7 messages
bright rock Is it possible for discord.js to create an embed, where you click a button and it will open a DM with the bot that creat...
998292157150535700
Private Message all members in server (D.JS 14) 6 messages
proper wind i'm trying to make an annoucement system, and make it private message all members of the server when annoucement command...
client.on('error') 4 messages
silk heart how to use client.on error i am trying but it is not working ```js // Set up the WebhookClient const errorWebhook = new ...
Step by Step Collector 6 messages
ornate kelp Hey guys hope u are all doing well , so here is my problem. What im trying to achieve is an step by step process that ...
Disable init information from WS with Guild intent 17 messages
frank dust There is a problem. When I connect the Guilds intent, it automatically parses absolutely all the basic information about...
Best way to chain select menus 3 messages
late kiln DiscordJS version : 14.15.3 NodeJS version : 20.15.1 Hello guys ! **Context** : I need to create a command that will as...
1150878580193116250
Question on message component collector 17 messages
hollow valve Code: https://pastebin.com/BNTzU7AQ I have a message with register, home and remove buttons, when clicking on register ...
SlashCommand interaction is undefined 14 messages
split lance Hey, I just encountered an Error I can't explain... I get an error every time I execute an SlashCommand from my Bot tell...
1150878580193116250
Discord bot being rate limited while spawning shards? 6 messages
honest quarry **Error:** "Not enough sessions remaining to spawn 1 shards; only 0 remaining; resets at 2024-12-17T11:27:23.053Z" My D...
1150878580193116250 998292157150535700
Image in Embed 10 messages
gleaming basin ``` const { EmbedBuilder } = require('discord.js'); const { twiter } = require('../config.json'); module.exports = { ...
How to import embeds from 1 file into 2 without creating embed in 2 file? 41 messages
rotund token Let's say I have a config.json file in which I wrote 5 different embed messages. And there is info.js, which should outp...
$message.content returning nothing 6 messages
royal delta When i send a message it replies - 'You said: $message.content', if i try and splice it i get an empty error, so $messag...
help download canvas 2 messages
1150878580193116250
How to make a user installed app 19 messages
dawn wing Hi, I just went over discord's guide on user installed apps : https://discord.com/developers/docs/tutorials/developing-a...
1150878580193116250 998292157150535700
Discord bot 5 messages
astral wigeon Do someone can help me fix this problem?
1150878580193116250
Help with discord bot 1 messages
astral wigeon Do someone know how to fix this?
1150878580193116250
No discord user id mention in embed 9 messages
cinder robin So i've connected my bot into my FiveM server and when mentioning players on discord with there discordID in embed ``` ...
1150878580193116250
error modal 17 messages
nimble relic ``` DiscordAPIError[40060]: Interaction has already been acknowledged. at handleErrors (D:\MartozAifoo\node_modules\...
1150878580193116250
Is there a way to save every username change into some kind of array (using mongodb) 5 messages
rustic kite Right now I'm using this Schema to push user info to mongodb ```js const addUser = async (user) => { const mongoose ...
Unknown Emoji Error when trying to react with unicode emojis 23 messages
hexed swan Hi, i am trying to react with a standard discord emoji, and based on [the docs](<https://discordjs.guide/popular-topics/...
1150878580193116250
How do i delete a followup to a deferreply using a button? 9 messages
subtle hill I currently have `await interaction.deleteReply()` in the button callback but it gives the error `error: Uncaught (in pr...
trying to install ESLint for a discord bot project 4 messages
still yacht sorry for the dim screenshot and would like to know which option to go with in order to then build a discord bot. thanks...
Reduce rate limit question 1 messages
spark garnet What can I do to https://srcb.in/DPvoT1Oj6W to reduce rate limit for editing in multiple servers
How to create something like this? 3 messages
frigid warren I want linked roles setup through a web domain so I can verify staff members into different roles
Is there a way to ban user installed apps from running interactions? 8 messages
smoky spire As title said I want to know if there is a way to protect server against user installed apps.
How to launch an activity when responding to a interaction? 2 messages
rotund kiln Upon receiving an interaction event through the gateway, after a player pressed a button (with a custom ID), how can one...
search function 6 messages
modest drift Can the discord bot use the discord search function? For example, from the user:, after:, in the channel: Can you write ...
1150878580193116250
Checking Guild Subscription 4 messages
silk narwhal Hello, I am trying to enable monetization on my bot, but I can't figure out how to check if a Discord server has subscri...
1150878580193116250
member presence activities 10 messages
scenic oar member presence activitity returns largeImage and timestamps null while there is image and timestamp in discord client i...
Discord Mod Logging (MemberBanRemove) 6 messages
lyric rampart cant seem to get this to work ``` client.on("guildBanRemove", async (guild, user) => { const entry = await guild.fetch...
Commands not working for only SOME users 9 messages
stuck bane Hello, I have the issue that the commands of my bot are only showing up for some users on one of the bots discord server...
Drop-down lists inside modal windows 3 messages
frigid shoal I have another question, the answer to which I also wanted to clarify. Is it possible to create drop-down lists in modal...
1150878580193116250
Creating an event via a bot. 8 messages
frigid shoal Good evening! Please tell me if it is possible to create such events using a bot? I didn't find anything like this in th...
1150878580193116250
Issue Launching 28 messages
reef whale I'm having issues with my discordjs. Idk why its just not working at all
998292157150535700
option.setName(...).setDescription(...).setType is not a function 6 messages
sharp sonnet ```error : option.setName(...).setDescription(...).setType is not a function ``` The code ```js : const { EmbedBuilde...
1150878580193116250
CUSTOM bot activity 15 messages
raven charm Hello there, I am trying to set bot's custom activity, but failing to do so this is the code in my ready.js -- every ot...
1150878580193116250
messageUpdate event comparsion problem 6 messages
vale mesa Hi, guys i try to compare oldMessage and newMessage in the event. But their is a difference when their is an embed in th...
1150878580193116250 998292157150535700
check if bot is user installed (or check if dm permission without sending a message) 5 messages
subtle hill Hi is there a way to check if the bot is user-installed? I'd like to make a reminders userbot command that sends you a d...
1150878890307358882
Need help with pagination 17 messages
hollow valve hello can someone please help me with this issue i'm facing with pagination buttons player.js command file code: https:...
Database for begginer 2 messages
shrewd helm Which database is easiest to use, and its decent?
Why is this not working pleas help me, 9 messages
lime sky // commands/transcript.js const { SlashCommandBuilder, AttachmentBuilder, EmbedBuilder,ApplicationIntegrationType,Inter...
Bot in GC 11 messages
solar storm How do I get my bot to work within both servers and group chats? It was working before but after I changed smth (I forge...
1150878580193116250
permission fetch error 8 messages
junior widget ```js async execute(interaction) { const pem = interaction.member.roles.cache.has('role1||'role2'||'role3'); ...
1150878580193116250
Questions about @discordjs/proxy 10 messages
turbid lotus hii, could someone tell me a bit about the `@discordjs/proxy` package? i have seen the motives but im not sure about it....
1150878580193116250 998292157150535700
Aligned fields in embed 8 messages
knotty dove Hello ! I'm trying to align 4 fields of an Embed ( like a 2x2 matrix, 2 fields above 2 fields ), I did something like th...
1150878580193116250
How can i make my bots name chance every minute with code ? 51 messages
olive spire Hello everyone i want to make my bot chance his name like every minute or two, can you please help me? this is the code ...
Attaching PNG buffers directly to embed. 47 messages
hardy briar I've been working with getting a verification system setup, Playing around with canvas and other libraries. I'm at the p...
1150878580193116250
Discord External App Help 6 messages
solar storm Hey, I'm making a bot. Currently, it's commands can be used across all of my servers but not my DMs. I do have some othe...
1150878580193116250