djs-questions

9202 threads · Page 150 of 185

Stop JSON file from deleting 7 messages
untold gate Howdy! Im working on a xp system and am running into a small issue. When i reload my bot, it resets the .json file. How ...
how do i get a description of CombinedPropertyErrors in vscode? 28 messages
frosty bane i'm debugging my bot with vscode and i have several times gotten the error "Uncaught CombinedPropertyError Error: Receiv...
Bot will not respond to ping 10 messages
median relic Hello, I have made a very basic bot and I'm trying to get it to respond to "Ping" with "Pong" ```const express = requir...
get the subcommand options 19 messages
safe oasis hi, how can i get the options that were entered of a subcommand?
Putting slash commands in embeds 3 messages
hybrid imp May I know how to put slash commands in embeds (like they do in dank memer's help command)
SlashCommandBuilder not defined 11 messages
covert flume It's been a while since I've coded this bot. I formatted my pc a bit ago, and all of my node stuff was gone. Anyways, I'...
weird problem i dont understand 22 messages
gloomy haven there seems to be a problem (i think with the module) that stops my bot from working and i am not sure what it is. heres...
code error 124 messages
lost field need help
Autocomplete String Choice With API not working 53 messages
hidden swallow ```module.exports = { data: new SlashCommandBuilder() .setName('fp') .setDescription('Get the floor price of t...
why the bot gives me 10 of online members which is 50 14 messages
fading jay const onlineMembers = members.filter(member => member.presence?.status === 'online' && !member.user.bot); // filter out ...
Posting gifs into a channel and the bot automatically records the link into a database 51 messages
hushed heron Hello! I am not familiar with discord.js and not a very good coder, so I am relying on tutorials to code my own bot. ...
Any way to read rate limit error headers? 2 messages
patent burrow I'm using functions that can run into rate limit errors and trying to handle them as gracefully as I can. According to t...
Node.JS Engine Requirement 5 messages
waxen galleon Hello, I'm using the last engine version but I would like to know the minimal required version for a project to use disc...
Get interaction options values through ModalSubmitInteraction (Modal listener) 14 messages
hazy sparrow Hi I was wondering whether there is any way to retrieve interaction options (slash command options values) through Moda...
Get name of other bot's command from ID 6 messages
livid cape Using the `guildAuditLogEntryCreate` event to detect when someone changes permissions for an application command. If it'...
Is there a way to make it so if my bot has the required permissions, it will change it's nickname? I 4 messages
sweet orbit very confuse
Best way to "hide" command 4 messages
little temple Is there a suggested method to have the inputs to a command hidden? I've been experimenting with: 1. Ephemeral then fo...
Fetched Guild behaviour 3 messages
stark elk If I fetch a guild on a shard will that shard receive the events of that guild? Extra: If I fetch a guild on ALL shards ...
Is it possible to get information about connected accounts ? 4 messages
sudden glacier In my discord profile I hava connected my github account for example. Is this possible to access this information using ...
ShardingManager Woes 75 messages
fathom hawk So my main project is still growing and I'm by no means at a point where sharding is required, but I'm also not one to p...
986538542350086175
TypeError [ColorConvert]: Unable to convert color to a number. 29 messages
fathom mural I haven't changed anything in my code recently and for some reason this has kept cropping up the past few hours. ``util...
Activity Management Using oauth 9 messages
fair kettle My goal is to have a user authenticate their account with my app, and my app can send a packet to discord that gives a r...
1003448629866020986
Creating an embed with buttons acting as a menu. discord.js v14 4 messages
wet moth So, im new into this, and im trying to create a command that has buttons, and when you press a button the embed changes....
get deleted message in AuditLogCreate 8 messages
native escarp How to get Deleted Message in AuditLogCreate Event.
Know if a user is deleted 6 messages
fathom onyx Hi ! I need to know if any method exist for know if a cached user is deleted
How to destroy + restart clients 4 messages
shrewd sundial I run a series of clients bot on the same process. When a user make change to their bot config, I need to restart that ...
Button permissions 14 messages
hybrid imp I want the buttons on my bot's messages to only be useable for the person who prompted the message using commands. Right...
discord music bot leaves immediately after joining vc 20 messages
manic ibex I'm having trouble with my discord music bot. It's using discord js v14 and node v18. It's currently hosted on Heroku us...
Message fetching 2 messages
jagged folio I have this function which edits a message anytime it is called, or re-sends it if it was deleted. I have noticed that w...
Basic commands/features? 2 messages
median frost Hi, I’m currently developing a bot, but I ran out of ideas. What are some basic commands/buttons/features my bot should ...
guildMemberAdd not working (i have SERVER MEMBERS INTENT enabled) 12 messages
kindred beacon my code: https://pastebin.com/qEPtDtiJ
Little questions on rate limits on a channel 2 messages
viscid parcel Hey ! How many requests or interaction a bot can send for one channel ? I think of a limited actions by channel is set ...
Running multiple bot clients on the same process 2 messages
shrewd sundial My objective is to activate bot processes on my users' behalf when they provide me a BotToken and AppId. I was thinking ...
How to add required permissions for a ban module? 40 messages
crystal veldt `const { SlashCommandBuilder, GuildManager } = require('discord.js'); const { is } = require('express/lib/request'); mo...
when i reacted to the msg it is not repling 11 messages
rough hedge code:```js if (message.content.includes("r_test")) { message.react('👍').then(() => message.react('👎')); con...
Facing a problem on an unban module 21 messages
crystal veldt `const { SlashCommandBuilder, GuildManager } = require('discord.js'); module.exports = { data: new SlashCommandBuild...
interaction has already been acknowledged. 18 messages
cobalt plume i am suing two collector, is string select and button, so when i use button and select i get error that (Sorry because o...
How do i fetch a threads link? 2 messages
west iron .
[Solved] About Subcommand 6 messages
sharp wagon My english is not good. So I used ChatGPT to translate whole thread. Sorry first maybe I will used impolite english. I ...
My bot don't receive direct message 4 messages
dawn thistle ```Javascript const { config } = require('dotenv'); config(); const { Client, GatewayIntentBits, ComponentType, ButtonS...
Discord.js Guide different than the gihub 15 messages
gentle condor Currently trying to learn v14, and Im following the guide. But when I finished the command handling part, what I had was...
Discord or D.js bug? 3 messages
mellow frigate Is it a Discord bug or Discord.js bug that Age-gated commands are still hidden in Forum posts / Threads even if the Foru...
Can I work with typescript on discord.js? 5 messages
unreal ingot Hey I just want to launch my bot with this piece of code ```ts import { Client,GatewayIntentBits } from 'discord.js' imp...
How to make a bot tag itself? [SOLVED] 16 messages
gentle condor Hello, I'm trying to have a slash command that says something in chat that's ephemeral, and I also want the bot to tag i...
ColorResolvable giving error Expected an array on given value "Red" 10 messages
surreal snow I have this code which builds an embed for an error message. But when building it, throws this error: ```js CombinedErr...
Did Discord.JS support modifications for rules screening (and how can I do that) ? 3 messages
pulsar fulcrum Hey, I wanted to know if it's possible to modify rules screening with Discord.JS (and how), because I searched for guild...
Defer reply to have the 3 seconds be longer for an edit reply. 3 messages
thorny skiff Using 14.7.1, I am wondering if there is a solution to another >3 seconds time length for message to be sent, but when t...
Commands duplicating 79 messages
torn meteor I'm attempting to make a simple "echo" command and the code that I use doesn't give and error but the bot says "The appl...
Forum Rate Limitation 4 messages
queen crescent Hello, I'm currently in the process of creating logging files, running into an issue. The bot makes an API call, it then...
Who can help me make a RichPresence 15 messages
idle seal Pls help me for make RCP <:JS:1081597929061630048>
1003448629866020986