djs-questions

9202 threads · Page 116 of 185

bot can't manage roles on user 13 messages
daring cave THE ERROR: TypeError: Cannot read properties of undefined (reading 'id') at get cache [as cache] (C:\Users\2DF2ZDT\...
Auth2 8 messages
vale vortex Is the access token used to access people's accounts? or just to pull information like name, avatar and among others?
998292157150535700
TypeScript Logical Error Not Syntax Error 26 messages
gusty crescent So, I have a ModMail bot made in TypeScript, and I have a slash command that blocks the user from D.M.'ing the bot any f...
emoji react message 20 messages
opal wolf how to make it add reactions to the message?
Question about integration 15 messages
blissful vale On server where I spend some time there a Role Linked integration. That's get your steam account if you allow, and get s...
998292157150535700
Does anyone know if the defaultMemberPermissions can set a job id or just PermissionFlagsBits? 2 messages
nimble wolf ```lua module.exports = { name: "teste", description: "teste", defaultMemberPermissions: PermissionFlagsBits.Admin...
adding role problem 6 messages
humble wedge my code: interaction.guild.members.cache.get(match[1].toString()).roles.add(role) (with match[1] being a user ID) my er...
unknown interaction 26 messages
ashen summit https://srcb.in/YJH6fadJ2G Seem to not like my code
Post video link with hidden URL (preferably without downloading the video) 10 messages
fair mural Is there a way to hide the URL while posting a video because the URL is a *bit* too long
messages 21 messages
grim tide getting messages of a discord channel? ```channel.messages.fetch().then(messages => { console.log(messages)...
how do I access the forum channel a thread was created in 2 messages
north juniper how do I access the forum channel a thread was created in
Shards Error 5 messages
jovial moon The Console Is loading Two Times And When i Used Some Command Like "$ping" Bot Is Replying Two Times And My Console Ge...
Getting Gateway Ratelimited. 208 messages
mighty birch My shards are getting interrupted a lot, in last 12 hours I got 291 reconnecting logs and more than double in last 24 ho...
CombinedError upon embed creation 10 messages
deft anchor Error: ```js CombinedError (3) Received one or more errors 1 ExpectedValidationError > s.literal(V) | Expected...
Not getting presence events for server owner 17 messages
formal cosmos I'm listening for all Events.PresenceUpdate events and seeing them come through for all members of my Discord, other tha...
No handler was found for this command 32 messages
austere dagger im using discord.js to handle the command but python to send the reply message lmao, sooo whats the fastest method (like...
Is it possible to make an event to check if a file is created/edited/renamed/saved 2 messages
strong skiff Is it possible to make an event to check if a file is created/edited/renamed/saved
embedbuilder is not working ... 10 messages
paper halo ```js try { // interaction.guild.members.ban(member, {reason: reason}); const EMBED = new EmbedBuilder() .se...
998292157150535700
Discord.js bot on server dont start 4 messages
supple pumice I have a server for my discord bots, to host my bots i use the package pm2. When I hosted the first bot everything work...
998292157150535700
Multiselect dropdown list collector doesn't trigger 11 messages
mint dagger Good evening I have a first Dropdown list with 2 choices (maxValues = 1), then according to the choices it displays anot...
Having troubles editing ephemeral response 23 messages
lucid girder I'm writing a bot that asks the user for data through a modal, when the user submits the modal the bot validates the dat...
Demote Command doesn't work. 36 messages
smoky stag So I have a demote slash command and when someone runs the command I want to check if they actually have the role to run...
Replaying missed events after shutdown 20 messages
fierce orbit Does d.js expose any way to replay events missed due to a temporary shutdown? The TLDR is that our host will perform au...
so i have a doubt my system is giving "interaction failed" 17 messages
nimble wolf so i have a doubt my system is giving "interaction failed" i want to remove this error when i edit a reply
command interaction with another command 6 messages
onyx niche my /report command is interacting when i use my /help command, i've somewhat fixed it but now i get an "DiscordAPIError[...
Permission for disableCommunicationUntil 3 messages
meager dagger What is the permission required for the but to use <GuildMember>.disableCommunicationUntil
embed message setcolor is not working 3 messages
paper halo ```js function embedMessage(desc) { return new EmbedBuilder() .setDescription(`**${desc}**`) .setColor("BLUE"...
998292157150535700
messageUpdate Event 4 messages
kind crystal Hello, I'm trying to do a logging system for my bot and I ran into a problem when it cames to message updates. `oldMes...
ContextMenuCommand same name as a SlashCommand 12 messages
worthy spruce If I create a SlashCommand called test and a ContextMenuCommand called test too, it will crash/not work fine or it's ok?...
How to get Member Object with message 27 messages
signal hinge Im trying to get a member of the author's message but i cant find the way. What i want to do is check if member has a ro...
ModalBuilder() is not working ! 4 messages
paper halo ```js else if (interaction.commandName === "userregister") { console.log('hello world register !'); ...
blacklist system not working 24 messages
wet pier ```js const { model, Schema } = require('mongoose'); let blacklist = new Schema({ User: String }); module.export...
Modal Error 5 messages
fringe rampart ```js const { SlashCommandBuilder, ActionRowBuilder, Events, ModalBuilder, TextInputBuilder, TextInputStyle } = require(...
Creating a bot that automatically posts new emails from a gmail account 4 messages
wise prairie Would you recommend using discord.js alongside the gmail API to get a bot that would post all new emails from a gmail in...
weird error 5 messages
solid moth just wanted to start my bot and this happened - it doesnt seem like a problem with my code bc it worked before on anothe...
TypeError: require(...).config is not a function 8 messages
shadow atlas this error comes up when I do npm run test. I searched all over my files and codes and I don't get why I am getting this...
How to start 13 messages
smoky cave Hello I want to start learning djs library and I don't know where to start
Issues with button builder 8 messages
icy pine I'm having this issue with Button Builder. Im awful at coding and cant seem to figure it out. Let me know if you can hel...
How can I check user roles 7 messages
smoky stag So I have a slash command where the member has to mention a user in the command option, how can I get the roles from the...
Create Users Dms 35 messages
smoky stag When I am trying to send a message to a user via bot it says object Object
Why is interaction.member possibly null? 12 messages
lucid girder TypeScript claims that `ModalSubmitInteraction.member` is of type `BaseInteraction<CacheType>.member: GuildMember | APII...
TypeScript client.cooldowns 5 messages
worthy spruce Hihi. I have a bot in JavaScript working perfectly fine but I decide to change it to TypeScript(im totally new in ts but...
Slash Command Interactions Doesn't Work 10 messages
smoky stag Hello, So I am creating a new bot and for one reason the doesn't respond to the slash commands at all, the slash comman...
How can I change this About Me by code I've seen some systems that change automatically just by code 25 messages
Anyone can help me? 6 messages
rose fern ``` const embed = new Discord.EmbedBuilder() .setColor(config.MainColor) .setDescription(...
Which things are always cached with the Guilds intent? 7 messages
fiery birch I wanna have a list of things that are always cached with Guilds intent so I know when to get from cache and when to fet...
getting new display name 12 messages
unborn leaf hello, with "user.displayName" i am catching the new name system name, means for me "drogensohn". "user.nickname" is jus...
Button 18 messages
dawn hatch How can I reuse the same button of my discord bot multiple times? because after the first time that I pressed the button...
Deselection in Select Menu 2 messages
warm quest is there a way to automatically deselect the option immediately in the select menu once an option is clicked?
oldMember and newMember timeout issue 4 messages
visual widget ```js const oldTimeout = oldMember.communicationDisabledUntilTimestamp const newTimeout = newMember.communicationDisable...