djs-questions

9202 threads · Page 168 of 185

clean exit - waiting for changes before restart 8 messages
drowsy crescent When I strart my bot with nodemon main.js, i get this message
MESSAGE ROLE 2 messages
oblique dune How to make this list role?
Get embed data from discohook link 5 messages
oak ether Hello there ~ ! <a:PaimonWave:755788648661647401> I'm trying to implement a command that permits to easily send embeds...
checking if the channel is a thread 8 messages
silver sky So I am trying to check if the channel where my command was executed is a thread and I don’t really understand how to us...
Can a bot use MessageComponents on another bot's message? 3 messages
deep light Can I have my bot interface with another bot by pressing buttons or otherwise manipulating MessageComponents as if it we...
.editReply() not working with no error. 12 messages
sleek shuttle editReply() deleteReply() are not working with no errors in the console. Is it an API issue or some kind of ban? Btw the...
Alternative of chartjs-node-canvas for DiscordJS 3 messages
pure hatch To be able to send a ChartJS graph on DiscordJS, I have to use this package `chartjs-node-canvas`, but it is not maintai...
Cannot get invites 43 messages
calm sun I am using the `await guild.invites.fetch();` method and I get a API error saying I don't have permissions to get invite...
autocomplete add on v13 3 messages
robust geyser hi, my djs is v13 and my slashcommand modules looks like this ```js module.exports = { name: "Test", description: "...
Interaction already been acknowledged 2 messages
gleaming schooner Code: ```client.on("interactionCreate", async interaction => { const split = interaction.customId.split("_"); c...
disable/add button for specific user 9 messages
wintry temple hi, is it possible to disable a button for a user once theyve clicked it? and that point also add another button?
m.edit is not a function 6 messages
real wing Hello everyone ! <a:peepoHey:787521428038877224> On my bot, I'm trying to implement a command to move a message from on...
Update interaction as well as reply to it 19 messages
latent owl How can I reply to interaction as well as update it?
Buttons in messages 3 messages
latent owl Can I send button in messages? Not an interaction
Finding if have speaking send message privileges in the desired channel. 23 messages
vestal igloo With a `ChatInputCommandInteraction`, is there a way that I can use that object to determine if the bot has the permissi...
Disabling components while modal is in use 3 messages
still sparrow Hi, I am trying to disable a whole row of buttons when a modal button is clicked but I am not sure
Interaction has already been acknowledged. on two different event 7 messages
green juniper So let me explain, i'm currently supporting two event for differents reason (Message, Interaction). When i do @mention ...
Not authorized? 4 messages
earnest stump ```js > shattered-realms@2.0.0 test > node . Command: create2 has been passed through the handler. Command: embed has b...
Creating application using modal. 3 messages
potent garnet I'm trying to create an 'application' to a group. I've learned how to create a modal. Can someone point me in the direc...
Get Voice channel 8 messages
warped aspen Hi, How can I get the voice channel the user is currently on when the user sends a text message?
Error while reading a directory [CANVAS] 3 messages
regal atlas I have a image on a folder of the command and I want to use it on a card, but when it read it the card doesn't have back...
How would I get the member of this event? 7 messages
dusky flume ```cpp const { Events, EmbedBuilder } = require('discord.js') const { joinChannel } = require('../util') module.exports...
Attach File 16 messages
sharp patio How can I create and attach a text (txt) file and attach it to my the message? I have a Discord bot and I am using JavaS...
how can i pass any data to the interaction button? 23 messages
opaque oak I have data that I need to use during the execution of the interaction button, but the handling of the button is in anot...
message on reaction add event v14.3.0 45 messages
wise plover ` client.rest.on(Events.MessageReactionAdd, async (reaction, user) => {` Hello, is anyone kn...
Reading .includes("discord.gg/xyz") on a user presence status 34 messages
uncut haven Hello, i want to check if the status of a member includes "discord.gg/x", but i can't read `.includes` on the `.state` (...
slash command not showing 21 messages
night musk iam using discord.js@13.6.0 i didn't code discord bot for year and more i have old project i took the code from it and ...
Can we get data of ... 18 messages
ember mantle Hello 👋🏻 I would like to know, can we get alt text from an image (if it is written)?
Passing data to modal 5 messages
wintry temple Hi, is there anyway to pass custom data to button builder? I would need to pass it some data acquired from previous inte...
how to use RoleSelectMenuBuilder? 5 messages
dire otter I just found out it existed haha, Too bad I don't know how to use it, but I found it very interesting!
Urgent Assistance Needed: Discord.js Intents Declaration 15 messages
wary mica I am in need of urgent assistance regarding the declaration of intents for my Discord bot. Despite extensive research an...
Problems installing discord.js when executing npm install discord.js. 16 messages
ornate rampart Log>> Unsupported URL Type "workspace:": workspace:^
Error when deploying commands 5 messages
weak kestrel ```js const { REST, Routes } = require('discord.js'); const { clientId, guildId, token } = require('./config.json'); con...
How can I know when a user has disconnected from a specific voice channel 4 messages
frank flame Havent found anything on the docs
Ticket system with a Select Menu 7 messages
bronze urchin Good evening, you know how to allow to select a menu but if the player does not have the right role, he cannot click on ...
I dont find anything wrong here but its not working! 16 messages
void heath does anyone have an idea, why this code is not working? ```js let storedMessages = []; client.on('message', async messa...
How can i edit embeds and components when collector is ended? 15 messages
select menu wont respond with a modal 133 messages
ionic dragon im trying to make the bot respond to select menu selections with a modal but it just keeps sending the same select menu
Checking bot permissions in a channel 5 messages
snow zealot Do it with permissions.has()?
use other bot slash commands 7 messages
queen glen When I set up the application on Discord, I was able to let it use other bot's slash commands. How do I use this in Disc...
How to remove the color from embed? 6 messages
opaque oak How to remove the color from embed?
Create Emoji - TypeError [ReqResourceType]: The resource must be a string, Buffer or a valid 4 messages
undone stream Hi, how can the bot create a new emoji on the server, I keep getting `TypeError [ReqResourceType]: The resource must be...
What type does interaction have (Typescript) 6 messages
flint sequoia ```import { SlashCommandBuilder } from 'discord.js'; module.exports = { data: new SlashCommandBuilder() .setName(...
How to make my bot get a Channel ID? 3 messages
cinder knoll I want to make it so my bot can get the id of the channel that the command was sent. The only way I know of defining a c...
Handler 2 messages
rancid meteor How make Command Handler?
encode 64 3 messages
restive apex how to render an image that is in base64 in discord, the image that is in base64 is a qrcode
Getting RTT 11 messages
ornate rampart Totally new to this, how do I get the RTT of each users? I am developing a minigame that is time sensitive.
Embed with multiple Images 15 messages
rugged ginkgo Qjuh once said it's possible to have multiple images in the same Embed, but I haven't been successful in re-producing th...
How to check if a message exists? 3 messages
shell bluff I have an ID of a message that was posted at some point, when my bot starts I want to ensure that the message still exis...
Intents 3 messages
still dock What is the needed intents & perms for a discord advanced ticket bot ?