djs-questions

9202 threads · Page 80 of 185

Unknown Interaction. Not sure what the cause is 6 messages
gleaming crypt I'm using openai for chat gpt for general chat. It works sometimes and other times it does not. The error I'm getting is...
Make var 1 messages
harsh hill How to make server variables for antiraid
Fetching the audit logs not returning as wanted 24 messages
mortal igloo ```js const kickWithinMinute = await guild.fetchAuditLogs({ type: AuditLogEvent.MemberKick, after: auditLogEntry.cre...
auto notification to a channel 14 messages
dense spindle node:events:491 throw er; // Unhandled 'error' event ^ TypeError: Cannot read properties of undefined (read...
How to know if user has more permissions than the bot? 6 messages
dense reef Hi, how can i get to know if a discord user has more perms than the bot, I want the bot to change a specified user usern...
is there a way to align text to center automatically in an embed? 3 messages
lapis chasm i wanna know : )
Fetching / Getting the id of a subcommand in a subcommandgroup 15 messages
gloomy bear So im trying to make a fully dynamic help embed which shows each command with their description. I need the id to make t...
What do you do if you have 100+ prefix commands but you can only make 100 of them slash commands? 16 messages
silk herald What do you do if you have 100+ prefix commands but you can only make 100 of them slash commands?
error 148 messages
peak widget not showing client online in console ??
1150878580193116250
String Select Menu data collection 1 messages
somber smelt I have built out a String Select Menu that offers two menus, one to pick and item from the database and one to pick a pl...
How to differentiate an defer interaction 10 messages
dawn thistle Hi I would like to know how I can differentiate the method used to defer the interaction since there is ``deferReply`` ...
Channel Voice Mute BOT 19 messages
uneven wave Good morning, I had a question how the bot can mute itself into voice without the server mute, please help me ?
When replying to an interaction button press, how do I get the original interactions options? 21 messages
balmy oracle The response does not seems to have an options object
1150878580193116250
ActionRowBuilder type error with EditReply 7 messages
gusty thistle ```ts public paginationButtons(): ButtonBuilder[] { return [ new ButtonBuilder().setCustomId('pg-pre...
1150878580193116250
discord message reactions 4 messages
tacit wolf when i try to get the event from the messages with Events.MessageReactionAdd its not even reacting and printing out a si...
Is there a way to get slash command option values even after the slash command leads to a modal? 21 messages
thorny skiff Hi! So I was told to use a collector for this, but I'm not sure how exactly it works. I was taking a look at [this](http...
Editing a pinned message? 6 messages
lilac wadi Hello! I have a reply to an interaction that I'd like to edit at a later time. The ID of the reply is stored in my data...
Update message when event fires 4 messages
charred hull I use a minecraft api to see how many players are online on my server. How could I say that the bot should update a mess...
1150878580193116250
Using the thread system, how can I pull up how long ago a certain thread was created? 6 messages
warm scaffold Using the thread system, how can I pull up how long ago a certain thread was created?
Problem with voice 3 messages
tough fog Hi, I want to play music through a bot and I did it on my computer, but when I transfer files to the Ubuntu server, it d...
edit msg 108 messages
modest acorn ```js const { Client, GatewayIntentBits, Events } = require('discord.js'); const { EmbedBuilder } = require('discord.js'...
1150878580193116250
why isnt the command not working 21 messages
modest acorn ```js const { Client, Events, GatewayIntentBits } = require('discord.js'); const { token } = "MTE4MTcyMDE2MzYyNDY4NTU4OA...
1150878580193116250 998292157150535700
View Guild Onboarding 6 messages
queen glen I'm trying to see my Guild Onboarding questions and add answers to them but I'm just getting undefined for each property...
embedding an manipulated image inside the box 8 messages
tacit wolf i tried to manipulate an image and adding it to the embedded box as an attachment url but its not inside the embedded bo...
Disable select menu after use - interaction.update() 11 messages
languid umbra ```JS const tempComponent = interaction.message.components[0]; tempComponent.components[0].disabled = true; ...
1150878580193116250
(guild create channel) ---> TypeError [InvalidType]: Supplied parameter is not a User nor a Role. 8 messages
undone loom ```json { name: 'amal-accept-application', type: 0, parent: '1129515735014719600', permissionOverwrites: [ {...
1150878580193116250
Questions about on-premise and nodejs 3 messages
covert vessel Hello my friends, I'm planning to develop a software using Tauri that connects to a Node.js server. If I decide to depl...
How to call Slash commands in another slash command? 13 messages
abstract falcon Hi! We are making a discord bot as a school project and our goal is to have a /creategroup command that uses already mad...
998292157150535700
errorr 3 messages
1150878580193116250
images not in message? 16 messages
buoyant epoch Hello, when i get the messages every message with image is just empty, why is that? it shows every text message normally...
Support with using client in separate files. 14 messages
hardy briar I'm having a bit of a struggle with my project and could use some assistance. What I've gotten into the habit of doing i...
998292157150535700
Global / Commands 5 messages
gleaming crypt How long does it it take for global / commands to register? Anytime I add a command I have to invite the bot back and it...
1150878580193116250
images dont appear 9 messages
hard barn when i put an attachment using `AttachmentBuilder` in to the `files: []`part of a message it appears in discord as somet...
The bot is silent and does not send me a transcript 47 messages
mortal canopy Code: (This is my first time working with discord.js, don’t judge me) ```js $djsEval[(async () => { const discordTran...
1150878580193116250
the bot is just silent 1 messages
mortal canopy Code: ```js $djsEval[(async () => { const discordTranscripts = require("discord-html-transcripts"); const userID = '...
1150878580193116250
how can i incorporate ai image generation? 7 messages
hard barn i'd just like to know how to incorporate ai image generation into this. i want it to respond that it's generating the im...
What is the problem that when I run code and create new ticket 1 messages
modern veldt What is the problem that when I run code and create new ticket I got a ticket have the permissions I set perfectly but w...
Issue setting command as NSFW 1 messages
proven tinsel Hello, I'm updating my bot's commands to be NSFW, but my updates are removing my command's options. For context, this co...
what is this and how do i make it for my own bot 8 messages
upper wraith title
1150878580193116250
"ValidationError: Expected a string primitive" when adding options to a StringSelectMenuBuilder 5 messages
mortal igloo Hey, got a question: I want to add a StringSelectMenuBuilder, and for the options I have this: ```js const optionsSSM = ...
how to disable button from client.on(Events.interactionCreate, interaction => {}) 4 messages
modern veldt how to disable button from ```js client.on(Events.interactionCreate, interaction => { ... }); ``` for example the butt...
Advice on microservice architecture 1 messages
plucky bobcat Hi! I am planning a discord.js bot for a private community with a small userbase. I have been looking at microservice ...
Why the messages didnt get deleted 3 messages
harsh oracle https://sourceb.in/1la4uiT9CK
My avatar command does not embed anymore on first time, it does on second. 1 messages
winged tartan Has this to do with a recent discord update? Greatly appreciate if anyone has a solution. this is my code:
1150878580193116250
How to create new tag in a discussion and how to get the id of any tag in the discussion to apply it 2 messages
modern veldt How to create new tag in a discussion and how to get the id of any tag in the discussion to apply it to the new post?
1150878580193116250 998292157150535700
super.user error after updating packages 60 messages
dreamy widget Code ```typescript import { Client as BaseClient, ClientUser, Collection, GatewayIntentBits } from "discord.js"; import ...
Expected the value to be an object, but received string instead & Message is not a Constructor Error 2 messages
dry stirrup I Coded a /ping Command & It's This How To Fix the Errors v14 (^14.14.1) ```js const { SlashCommandBuilder } = require(...
Problem with displaying the user's banner 17 messages
tender flame Good afternoon! I'm trying to display the user's banner. The problem is the following, if the user with nitro did not us...
How to send a followUp after deferReply() and editReply()? 8 messages
lilac wadi I have an ``interaction.deferReply()`` that is edited later with ``interaction.editReply()``. I'd like to also send a ...
command.permissions.has() always returns true 14 messages
quasi latch When using `slashCommand.permissions.has({ permissionId: interaction.user.id })`, it seems to always return `true`. Eve...