djs-questions
9202 threads · Page 168 of 185
drowsy crescent
When I strart my bot with nodemon main.js, i get this message
oblique dune
How to make this list role?
oak ether
Hello there ~ ! <a:PaimonWave:755788648661647401>
I'm trying to implement a command that permits to easily send embeds...
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...
deep light
Can I have my bot interface with another bot by pressing buttons or otherwise manipulating MessageComponents as if it we...
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...
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...
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...
robust geyser
hi, my djs is v13 and my slashcommand modules looks like this
```js
module.exports = {
name: "Test",
description: "...
gleaming schooner
Code:
```client.on("interactionCreate", async interaction => {
const split = interaction.customId.split("_");
c...
wintry temple
hi, is it possible to disable a button for a user once theyve clicked it? and that point also add another button?
real wing
Hello everyone ! <a:peepoHey:787521428038877224>
On my bot, I'm trying to implement a command to move a message from on...
latent owl
How can I reply to interaction as well as update it?
latent owl
Can I send button in messages? Not an interaction
vestal igloo
With a `ChatInputCommandInteraction`, is there a way that I can use that object to determine if the bot has the permissi...
still sparrow
Hi, I am trying to disable a whole row of buttons when a modal button is clicked but I am not sure
green juniper
So let me explain, i'm currently supporting two event for differents reason (Message, Interaction).
When i do @mention ...
earnest stump
```js
> shattered-realms@2.0.0 test
> node .
Command: create2 has been passed through the handler.
Command: embed has b...
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...
warped aspen
Hi, How can I get the voice channel the user is currently on when the user sends a text message?
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...
dusky flume
```cpp
const { Events, EmbedBuilder } = require('discord.js')
const { joinChannel } = require('../util')
module.exports...
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...
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...
wise plover
` client.rest.on(Events.MessageReactionAdd, async (reaction, user) => {`
Hello, is anyone kn...
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` (...
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 ...
ember mantle
Hello 👋🏻
I would like to know, can we get alt text from an image (if it is written)?
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...
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!
wary mica
I am in need of urgent assistance regarding the declaration of intents for my Discord bot. Despite extensive research an...
ornate rampart
Log>> Unsupported URL Type "workspace:": workspace:^
weak kestrel
```js
const { REST, Routes } = require('discord.js');
const { clientId, guildId, token } = require('./config.json');
con...
frank flame
Havent found anything on the docs
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 ...
void heath
does anyone have an idea, why this code is not working? ```js
let storedMessages = [];
client.on('message', async messa...
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
snow zealot
Do it with permissions.has()?
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...
opaque oak
How to remove the color from embed?
undone stream
Hi, how can the bot create a new emoji on the server, I keep getting
`TypeError [ReqResourceType]: The resource must be...
flint sequoia
```import { SlashCommandBuilder } from 'discord.js';
module.exports = {
data: new SlashCommandBuilder()
.setName(...
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...
rancid meteor
How make Command Handler?
restive apex
how to render an image that is in base64 in discord,
the image that is in base64 is a qrcode
ornate rampart
Totally new to this, how do I get the RTT of each users? I am developing a minigame that is time sensitive.
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...
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...
still dock
What is the needed intents & perms for a discord advanced ticket bot ?