djs-questions

9202 threads · Page 40 of 185

Bot status 6 messages
slate raptor ```js require('module-alias/register'); const mongo = require('./mongo'); const { Client, Collection } = require('discor...
1150878580193116250
best way to secure my bot's token 17 messages
turbid oxide Hello! I want to add features that requires higher (dangerous) permission to my bot, but I'm afraid his token might be s...
1150878580193116250
How to check if message has any components, and if it does, bot will disable all of them and update 2 messages
vestal spindle Help please:)
Using Slash Command to send a message in a different chat and I want to capture the response 8 messages
golden turret Hey I have this code that once a process is finished I'll notify the result in a different channel and I want to collect...
1150878580193116250
embed description error 4 messages
Welcome messages 19 messages
zinc cave i’m making a bot that welcomes someone to the server but i don’t want to keep coding the channel ID can someone help me?...
Slashcommands with API 31 messages
blissful gazelle Hi, i tried to create a SlashCommand which gets data from ||https://brawlhalla.fly.dev/v1/glory/id?brawlhalla_id=3145331...
Problem with the guildBanAdd event 11 messages
wild raptor When I test the event by banning someone, it doesn’t work and I don’t know what to do. I already have version 14.15.3 of...
Unknown message when deleting bot messages 13 messages
ornate notch My message delete event throws me an error when i delete bot messages. ```txt DiscordAPIError[10008]: Unknown Message ...
Modal collecting two responses 40 messages
wheat ice I'm coding a bot with discord.js and I would like to prevent my bot from collecting two responses to a modal because we ...
Send a dm to user after bot/app has been added/authorized? (user install) 49 messages
timid zinc I would like the process of adding my bot to go something like this: 1. Lets say I send the bot authorization link to on...
vanity link 5 messages
merry nexus Is there a function in discord.js v13? If I change the vanity link, I can do special actions to change the vanity link.
998292157150535700
Is there anyway to get the time a user spent on a voice channel? 2 messages
olive crane I want to know how much time a user spent on a vc without joining it?
Discord bot works but not on my pcs 4 messages
upbeat flicker I have a personal discord bot I use for me and my friends. It used to work fine on my server pc but then one day it deci...
1150878580193116250
Interaction problem 5 messages
split finch Hello, a strange thing happend to me. I log interaction.channel in interactioncreate event and it's set, then i log it ...
1150878580193116250
Recurring "Cannot send an empty message" error 92 messages
lament urchin Hello, I'm intermittently getting hit with 50006 "Cannot send an empty message" errors in a production environment using...
1150878498534199426 1150878580193116250
Manage Embed Size in Title 10 messages
honest wave Hello, i've been switching from d.py to d.js and am looking for a way to change embed's tittle size. I put the screens ...
1150878580193116250
Sharding Client To Long to be Ready Error 33 messages
paper osprey I am creating a Discord Bot using Discord.js v14.15.3. Along with Node.js v18.18.2. I am currently trying to implement ...
1150878580193116250
AuditLog Event for member timeouts. 11 messages
hardy helm Currently, I have this code to see what it gives me in return: ```js if(!oldMember.isCommunicationDisabled() && newMembe...
my command category logos is not showing its just showing the code of all emojis 10 messages
rapid rain in the given picture it is viewing like a code help with error.txt is the code i want to to view it like the picture giv...
Cant get user's voice channel 13 messages
rare eagle I'm stumped, when I try to get the users voice channel everything returns null *(yes the user is in a vc)*, but I have t...
1150878580193116250
Move Logs 18 messages
silver kite How to create a move logs if the targetId isn't accessible through both "voiceStateUpdate" & "GuildAuditLogEntryCreate" ...
TS Error: The property "isReady" / "token" is not available for the "myClient" type. 28 messages
pure vapor I've made my own TS Client class which extends djs' Client class but it keeps giving me an error which has to do with th...
1150878580193116250
Can someone explain me how to return a value? 26 messages
lapis grail I try to return the .setvalue from the select menu That my bot response with the selected Option
embed message struggle 39 messages
lapis grail I try to reply with a embed message but I want as answer the .setValue from my select menu. Any Idea how I can get it? m...
how do djs and other wrappers sync application commands 21 messages
quasi comet yo guys i have another api question how do djs and other wrappers sync application commands im sending post requests t...
Problem with rest module 101 messages
split finch So i asked in <#824411059443204127> a few time about my deploy command not working, especially all lines after the rest...
1150878580193116250 998292157150535700
how can i make my bot use external emojis in user installed apps (in group dms) 14 messages
quasi comet .
I need help setup my bot 2 messages
zenith heron I need help setup my bot. I dont know anymore.
Help with setup bot 1 messages
zenith heron I need help setup my bot. I dont know anymore.
Im not sure what to do next ngl 12 messages
quaint gorge Basically, I have a basic DiscordJS bot, however I want to create stuff like a moderation system. I can send someone wha...
1150878580193116250
Verified bot check failed in some rare cases 12 messages
floral crater ```const isVerifiedBot = await auditLogEntry.executor.flags.has(65536) ?? await memberObj.user.flags.has(65536)``` Hell...
I got two errors when I execute deferReply method. 23 messages
white pagoda I'm making a music bot, but I got two errors when I execute the deferReply method. (I don't know why, but I only got an...
Nuke Protection 12 messages
ornate notch Does anyone have a code that will protect my server from nukes? Or a tutorial?
Slash Commands Not Loading 133 messages
sage ginkgo So my bot is working perfectly but when I add it into a new server slash commands don't load like at all. No errors, it ...
Missing access error 28 messages
last egret I'm trying to make a warn command, I don't know why it's saying missing access. The only thing the bot fetches is guild ...
Function always returns "true". 6 messages
icy pine Hi everyone, I've created a function that checks if a user can be DMed. However, it always returns true, regardless of ...
Why ChatInputCommandInteraction can return a null channel? 11 messages
1150878580193116250
Message ID change when i edit the Message 7 messages
bleak trout I need to save the Message ID to use after, so i create a placeholder Message, save the Message ID, then edit the Messag...
1150878580193116250
i keep on getting the interaction failed error but i did the reply method already tried to debug it 9 messages
runic stone ``` const { Client, MessageEmbed, MessageActionRow, MessageButton,SlashCommandBuilder,Interaction } = require('discord.j...
Non-internal sharding without using a full `Client` instance 20 messages
solid lotus Hi there, I own a large bot that I'm rewriting to be mostly HTTP-based. However, there are a number of features that req...
1150878580193116250 998292157150535700
v14.14.1: RangeError [BitFieldInvalid]: Invalid bitfield flag or number: undefined. 11 messages
slate lagoon i get the above error when i run this command on my bot: "/setmodpackid modpack_id: 925200" ```javascript // Define the ...
1150878580193116250
Drag Moves Log 14 messages
polar gull What is the best method to log the Dragging Move Logs?
Sharding not working anymore out of nowhere 27 messages
prime bone Out of nowhere my bot isn't starting anymore, throwing a `ShardingReadyDied` every time after trying to start the sevent...
I need help as a beginner 3 messages
solemn panther Hello i am new to the codding world i just learn the java script and did not have any good experience i wanna build the ...
Avoid commands being sent at the same time 24 messages
proud tartan Is there any way to avoid application commands being sent at the same time? For example, when two different users use tw...
1150878580193116250
User Install Count 8 messages
dense condor How can I check the amount of users that have user installed my discord bot (if it's not possible to check via discord.j...
Interaction keeps failing.. 31 messages
drowsy plank Tried to implement rock paper scissor, (custom events and commands handler)
`message.member.voice.channel` returning into a null 28 messages
oblique kelp see these: https://discord.com/channels/222078108977594368/824411059443204127/1260869886477991978
Grouped Audit Logs 1 messages
brazen narwhal Hello, I have a question about "Audit Logs". I've noticed that when message deletions are grouped together, my code for ...