djs-questions

9202 threads · Page 134 of 185

Monitoring slash commands from other bots 4 messages
hardy musk As title states, I am trying to monitor for when another bot has its command run, in this instance it would be /bump fro...
typeerror: this.options.embeds?.map is not a function 4 messages
past eagle node & discord.js fully updated - made in a class which is constructed by slashcommands when logging their use `ln 27 -...
images 4 messages
grim tide how to attach local images in to embed in discordjs
emoji 8 messages
grim tide How to check if emoji exists before setting it? because if I set it and it doesnt exist it can throw an exception
Token Invalid 44 messages
ashen topaz Token is invalid but the token is the same as the one I reset in Discord Dev Portal
How do I get the user out if we clicked on him in the menu? 4 messages
tender flame Good evening! How do I make a user output if I clicked on it in the menu?
Member Roles Update Logs Problem 6 messages
gloomy flame I made logs for member roles update but its bugged it always return the same guy as executor https://sourceb.in/73EaaUXT...
user and member 7 messages
uncut meteor i rlly wanna know, why does DJS seperate user and member? Just combine the 2 and handle for errors like when a persons a...
Not enough sessions 4 messages
queen glen I got this error when starting my bot ```Error: Not enough sessions remaining to spawn 1 shards; only 0 remaining; reset...
How to handle tons of Buttons 13 messages
supple bane Hi. I wanted to ask your advice for my code. I have a bot, in committee, that has a lot of buttons. I structure the bot...
question 2 messages
raw zephyr Can anyone tell me how to check if the role in verify command in below than bot role it will not work
Incorrect reaction.count 35 messages
digital nova I'm getting a reaction.count of 1 after receiving a reaction add event despite the message having 17 of these reactions....
Autocomplete 20 messages
night needle Trying to use autocomplete to get youtuve videos from a channel Package Docs: https://suspiciouslookingowl.github.io/you...
props.run is not a function 20 messages
rare reef Hello, I have the erroe `props.run is not a function`. It is shown directly at the Bots message. I don't really find thi...
interaction already replied 6 messages
copper thorn here is my code: ```import { ChatInputCommandInteraction, Client, ApplicationCommandType, User } from "discord.js"; imp...
Unable to fetch messages 7 days old in channel. 6 messages
fringe siren Hi I'm having a issue fetching messages at a specific time they were posted in a channel and bulk deleting them. I'm usi...
.manageable vs .moderatable 7 messages
low tinsel I am just really confused. What's the main difference between `<GuildMember>.manageable` and `<GuildMember>.moderatable`...
'client.user' is possible null 34 messages
stoic wave The error that VS Code gives me is in the title. ```ts const client: Client = new Client({ intents: [ GatewayInte...
How would I make a rock paper scissors bot 6 messages
maiden pagoda I am trying to make a rock paper scissors bot. What I was planning on doing was making the bot such that, if user x uses...
New Username Update 34 messages
deft zinc How discord.js will handle this new upcoming change ?
Index.js won't run 42 messages
how to connect discord to localhost 9 messages
wet heron I am trying to connect my score data to localhost and i am not sure what code i would use to send.
I am trying to get DMS to debug print 6 messages
magic zephyr For some reason, DMS aren't being Debug Printed at all, and I have no idea why The code looks similar because I folloe...
transaction has already been acknowledged 2 messages
copper thorn code: ``` run: async (client: Client, interaction: ChatInputCommandInteraction) => { const uuid = interaction.user...
Forking d.js 12 messages
median bluff I have a fork of d.js for my bot, because i needed to change a piece of config in the sharding that there isnt a configu...
buttons not working 77 messages
wet heron Hi! I have a code that should give a sample math test - it gives you a linear equation and two answer choices (one of th...
Slash command option 'autocomplete' 2 messages
mellow frigate Hey there, So I don't really understand what the `.setAutocomplete(true/false)` does when creating options on commands. ...
Can the bot's profile picture be changed to Server Specific? 3 messages
royal notch Helpp
autocomplete 2 messages
night needle how could i use autocomplete to get videos of a certain youtube channel
thread create error 1 messages
night needle Why do I keep getting this error when sending a msg with the thread create event
Question: Why was WebSocketProperties removed? 2 messages
analog saddle I just updated to Discord.js v14.10.x, and now realised my build fails due to `ws.properties` not existing. ``` Object l...
How to : use WebhookClient send message to a thread in forum channel? 6 messages
placid wigeon I just got an error as `Unhandled promise rejection: DiscordAPIError[220001]: Webhooks posted to forum channels must hav...
Some links in Docs are not working 4 messages
placid wigeon Those links will be directed to the home page of docs.. Please fix it, thank you! ex: https://discord.js.org/docs/packa...
Error creating thread but the thread is created correctly client-side 9 messages
winter matrix ```ts client.on('messageCreate', async message => { try { const thread = await message.startThread({ ...
ping command doesnt work 9 messages
jovial moon Hey I Have Updated My Package Top v14.10.2. After I Tried To Run Ping Command And It Show Ping As `-1 ms`. Here Is The C...
Question Regarding discord.js v14 Subcommands 3 messages
sick meteor I noticed you cannot set different sub-commands to different permissions. Is there absolutely no way to incorporate diff...
Slashcommand wont work and keeps popping up with a Invalid string format error 20 messages
dusk sable Im tryna make a command that you can report a bug about a bot because im currently making one but it keeps popping up wi...
Unknow Interaction keeps appearing 18 messages
void heath Every time I run a slash command it says "Unknown Interaction" but it sends the actual output, like an embed. Thats the ...
bot doesnt add reaction 1 messages
night needle ```js async execute(message) { if (!message.guild) return; if (message.author.bot) return; if (message.cha...
Unknown Member without proper file location 13 messages
steep umbra I have been getting this error for a bot of mine in my terminal and the section of code that it happens under has *no* t...
Invalid token 21 messages
old quiver i've recently tried making a new bot but when i try taking it online by running node on my code i get this error: `C:\Us...
Does d.js creates new shards as new guilds are added? 4 messages
honest kiln Hello, I would like to know if d.js handles this. Basically, I want to know if new shards are created when the bot joins...
ReactionCollector discord.js reasons to stop/end 6 messages
fast mortar Hello, I was wondering if there is any resource/documentation for all the reasons that can be emitted by discord.js when...
Fetching Channels v13 16 messages
last lantern Hey , guys im trying to fetch all text channels in a guild with a specific name. so at first i just use ``` const C...
Emojis doesn't display 18 messages
hard idol Hello, sometimes and on few guilds, emojis don't displays and make this :
Bot Not Seeing DMs 3 messages
winter basin Hey all, Working w/ DJS 14.8.0 and Node 18.12.0 I've seen a few threads related to this but I'm pretty sure their answ...
informing when user gets online 3 messages
faint dew is it possible with discord.js to give notification on specific text channel or privately when all or specific user come...
Help with cloud flare 2 messages
wheat tulip I’ve watched a bunch of tutorials but still not getting the gist of what I need to do to get it done. I’ve went though a...
Message Que? 6 messages
lusty locust Hello there! I was trying to make a chatbot using JS. Now, JS aint my cuppa so I fucked up a lot. I was now trying to ma...
file being sent with content object object 11 messages
strange wraith Hi, the transcript file from here is being sent to GitHub with the contents of the file as [object Object] GitHub Integ...