djs-questions
13317 threads · Page 179 of 267
rugged ginkgo
Bit of a biggie, I had an error:
`TypeError: Cannot read properties of null (reading 'bitfield')`
In this code:
```js
c...
gaunt silo
Hi, i'm trying to create a music bot, the first thing I did was to try and create a /ping command to test it, when I com...
sonic iris
Hi im hosting discord bot on A server.
And i need to call discord bot function that i wrote on A server, from B server
H...
craggy lodge
Hi, there's some way to change the right-clic app commands related to help distinguish them better?
Thanks
drifting sky
Hi! In the version has the badge "Active Developer" and "Supported SlashCommands"?
(Ping me for Reply)
Kurama.
craggy lodge
Hi, I'm trying to get true if the bot replied before to the same "interacted" message with the icon 😄.
So:
- if other ...
carmine karma
The bot previously posted a message that only contained an embed. However, after editing the message using `ButtonIntera...
crystal island
Hi, I'm trying to get an action row with buttons going for a bot I'm building, using d.js 14.7.1 and TS 4.9.4, and I'm f...
glass apex
Just like the title says, what is the difference between `guildMemberAdd` and `guildMemberAvailable`? I know `guildMembe...
runic ravine
I will be able to create a bot. managed by all groups How can I choose a rank to manage rights, such as viewing the mess...
eternal scarab
.setDescription(`**Η Υπηρεσία του ${client.users.cache.get(interaction.user.id)} μόλις τελείωσε** Η υπηρεσία διήρκεσε: $...
sudden urchin
So background, ive made my welcome-message system multi-guilded with mongodb and i want my users to be able to use thing...
velvet goblet
I'm localizing all my bot commands, and i've been trying to do the same with my help command too, however, I cannot get ...
winter zephyr
Hi!
I just finished my bot today and deployed it to a public GitHub repository. I put all sensitive information in a fi...
maiden flower
So I've shown a modal and `deferReply`'d it inside the filter, after trying to `.editReply` DJS says `Error [Interaction...
upbeat sigil
Hello, I am contacting you because I want to create a discord bot in discord.js but I am encountering a problem for whic...
prisma harness
How is it possible to get a user's role in V14, as I use: interaction.member.roles.has
ocean patio
I'm trying to send massage in a specific channel, is this even the right way to dot it? and it keeps telling me that the...
west iron
My code:https://sourceb.in/PSY3bdhAnP
Error:https://sourceb.in/wE3njrCmH8
fierce tide
I want my bot to react to a message it sent but I'm not sure how to make it react to its own message
tranquil zephyr
```js
TypeError: Cannot read properties of null (reading 'id')
at Object.execute (D:\bot\dist\events\messageDelete.j...
slow cape
ik its probably a dumb question but can someone help/describe to me how I would go about adding cooldowns to slash comma...
sleek saddle
I tried using discord.js under deno and the bot won't even start, it deployed commands successfully.
code:
```ts
import...
whole wave
hi everyone, i have an existing web hosting, can i use it to host my discord bot?
craggy lodge
Hi, how can I retrieve a message (by his id) info like msg.content and msg.member/author?
I get the right-mouse -> app ...
wary belfry
Well I want to send a message with a webhook into a Post (Thread's of Forum channels) and I found a bug!
stuck shale
Is it possible to set the `nsfw` property to `true` when setting up the command using the `SlashCommandBuilder()`?
https...
mint oriole
Hey so i would like a function similar to this:
```js
function filterCh(channels:GuildBasedChannel[], [ChannelType.Priv...
sonic quest
Hey! We recently got raided and users used OAuth2 to authenticate themselves. Luckely we had the Join Servers scope, but...
signal stream
Is there a way for me to search for users with a specific role (given in slash command) and then DM the users within tha...
slow pine
Is there a way to detect if/when a user closes an ephemeral response?
If not, what is the easiest way to add a cooldow...
vale fjord
[Info] I am in 1 server(s)!
C:\Users\user\Desktop\VainPvP\node_modules\mongoose\lib\drivers\node-mongodb-native\collecti...
violet lintel
Could I ask ( I’ve been trying to figure out ), What are presence intents used for? Example Case?
glass apex
Hello there. So, I'll keep this short. I have a `messageDelete` event handler, and I have a problem. When a user sends a...
stray sage
Trying to do the all mighty 8ball in the bot. Somehow, this thing shows up! I'm pretty sure that the code is right, yet...
glass apex
Hello there. So, as the title suggests, I want to attach already-existing message attachments on a new message. I am mak...
thorn mauve
I'm writing a small bot to help manage the reviewing of various content. This involves a slash command to start a review...
coarse summit
Hi, I'm facing an error related to DJS. I'm trying to include two inputs in my modal and it simply don't work. How can I...
gusty dagger
Hey! I have a question, is it possible to get a channels permissions using the channel id through DJS?
wicked widget
Hello!
Is it possible to rename a slash command?
stray sage
Getting this error for some reason, never gotten it before and yet here it is.
Code:
https://srcshare.io/63b4266bd4a39d...
cinder knoll
Hello!
I made a slash command where you can see the official arts for each character's birthday. I'm having an issue th...
vapid tartan
Hi! I'm trying to get modals working, but i'm stuck on the part where the bot actually recieves it. I keep getiing this ...
drowsy crest
So, originally, I thought I would just be able to do this with the ready event, but then I figured out that the ready ev...
echo lichen
is there a way to detect the new default style of pfp's ?
the regular ones are currently detected trough checking if ava...
jagged dust
I'm trying to loop through all text channels in a guild however am running into some issues.
```js
guild.channel...
ashen lance
https://pastebin.com/xZJ67M6y
Why does this code just print `0 days, 0 hours, 0 minutes and 0 seconds` every 5 minutes?...