djs-questions
9202 threads · Page 134 of 185
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...
past eagle
node & discord.js fully updated - made in a class which is constructed by slashcommands when logging their use
`ln 27 -...
grim tide
how to attach local images in to embed in discordjs
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
ashen topaz
Token is invalid but the token is the same as the one I reset in Discord Dev Portal
tender flame
Good evening! How do I make a user output if I clicked on it in the menu?
gloomy flame
I made logs for member roles update but its bugged it always return the same guy as executor
https://sourceb.in/73EaaUXT...
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...
queen glen
I got this error when starting my bot
```Error: Not enough sessions remaining to spawn 1 shards; only 0 remaining; reset...
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...
raw zephyr
Can anyone tell me how to check if the role in verify command in below than bot role it will not work
digital nova
I'm getting a reaction.count of 1 after receiving a reaction add event despite the message having 17 of these reactions....
night needle
Trying to use autocomplete to get youtuve videos from a channel
Package Docs: https://suspiciouslookingowl.github.io/you...
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...
copper thorn
here is my code:
```import { ChatInputCommandInteraction, Client, ApplicationCommandType, User } from "discord.js";
imp...
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...
low tinsel
I am just really confused. What's the main difference between `<GuildMember>.manageable` and `<GuildMember>.moderatable`...
stoic wave
The error that VS Code gives me is in the title.
```ts
const client: Client = new Client({
intents: [
GatewayInte...
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...
deft zinc
How discord.js will handle this new upcoming change ?
wet heron
I am trying to connect my score data to localhost and i am not sure what code i would use to send.
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...
copper thorn
code:
``` run: async (client: Client, interaction: ChatInputCommandInteraction) => {
const uuid = interaction.user...
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...
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...
mellow frigate
Hey there,
So I don't really understand what the `.setAutocomplete(true/false)` does when creating options on commands. ...
royal notch
Helpp
night needle
how could i use autocomplete to get videos of a certain youtube channel
night needle
Why do I keep getting this error when sending a msg with the thread create event
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...
placid wigeon
I just got an error as `Unhandled promise rejection: DiscordAPIError[220001]: Webhooks posted to forum channels must hav...
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...
winter matrix
```ts
client.on('messageCreate', async message => {
try {
const thread = await message.startThread({
...
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...
sick meteor
I noticed you cannot set different sub-commands to different permissions. Is there absolutely no way to incorporate diff...
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...
void heath
Every time I run a slash command it says "Unknown Interaction" but it sends the actual output, like an embed. Thats the ...
night needle
```js
async execute(message) {
if (!message.guild) return;
if (message.author.bot) return;
if (message.cha...
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...
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...
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...
fast mortar
Hello,
I was wondering if there is any resource/documentation for all the reasons that can be emitted by discord.js when...
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...
hard idol
Hello, sometimes and on few guilds, emojis don't displays and make this :
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...
faint dew
is it possible with discord.js to give notification on specific text channel or privately when all or specific user come...
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...
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...
strange wraith
Hi, the transcript file from here is being sent to GitHub with the contents of the file as [object Object]
GitHub Integ...