discord.js - Imagine an app

DIA

discord.js - Imagine an app

Support server for discord.js, a Node.js module to interact with Discord's apps API.

Join

djs-questions

djs-voice

Error 10062 [Uknown Interaction]

So, i have this bot which we use in our server to manage the criminal roleplay. we wanted to create a isolated economy systems whit crypto, so the first step needed was to make a command to request the bitcoin on a person/ his mafia, via a payment, made on the other economy bot, which is owned by another manager and can't share his DB with mine. So the user has to make the payment, insert the amount of cash he payed and the photo proof of the payment. ...

question

is there a way i can like make lyrics into my status (like automatically play)

Sending a welcome DM to users that have added/authorized my bot

Finding a bot in Discord interface could be a bit challenging. Is there a way to send a welcome DM to user's who just added/authorized my bot?

slash commands options wont get visible / can add parameters v14.18

I somehow cant add paramters in a server. eventhough everything should be fine. is there a known issue?...

[discord-rpc] Retrieving authorization code for access token

Hey there, is there a way to retrieve the authorization code upon authorizing an RPC? I want to use scopes without exposing the client secret to every user that runs the app. These arethe current options that I supply, although it does not work without providing the code, which cannot be retrieved so far.

Voice channel topic

Any way to fetch and edit the VoiceChannel topic? I can't find anything related to this in the docs
No description

NOT Responding

Check Bot is Coming Online after 50 minutes And Bot is not responding
No description

discord bot dashboard

i am developing my discord bot now since a few months, it got a lot of features but now the question is: how am i going to create a dashboard for it (i can do the front end). but how would the backend work? what kinda stuff do i need to link both parties together? are there any tutorials or examples on how to solve that? (djs: 14.17.3)

"The application did not respond"

I tried looking around and saw a lot of other people had this problem, but couldn't find any accurate solutions. Running Discord.js version 14.18.0 and node 22.13.1. No matter the command, Discord simply responds with "The application did not respond". Its like it didn't even reach the async function. deploy-commands.js ``` require('dotenv').config();...

Comming back on bot development

Hey i am restarting / cleaning discord bots project. I left from djs 13.6 and i would like to know if : - Is it worth it to switch to djs 14 ? - What are the most important change ? - Lot of refactor / adapting code between both version to do ?...

subcommand not showing

When i try to do the instagram command the subcommand isn't showing
No description

Editing Ephemeral Messages

Are there other ways of editing ephemeral messages beside interaction.update()?

ping.js command that is crashing my entire bot

hello hello, i'm currently making a bot but i kept getting this error.. (i'm hosting it on render.com) : ``` DiscordAPIError[10062]: Unknown interaction at handleErrors (/opt/render/project/src/node_modules/@discordjs/rest/dist/index.js:727:13)...

How to check bot status (not the Discord status)

Hi, I currently use Railway to deploy my bot, and I'm wondering if there's a way I can implement some kind of endpoint that pings the bot or something that is able to tell if the bot is alive / running / listening normally. Thanks in advance!...

TypeError: interaction.isCommand is not a function

I made a instagram command however when i try to do the command i get the error " TypeError: interaction.isCommand is not a function" ```ts...

dming users

i’m trying to make a system where the bot will message x people and they can have a conversation with the person who starts the “conversation”, i know discord is very picky on dming people at the same time, is there a rough limit?

newState.serverDeaf get the user who did it

I don’t know how to get the user who muted/unmuted or deafened the user.
No description

Bot backend suggestions

Hello, I've been using the backend supplied in the DJS guide for almost a year now in some of my projects, and I think it's time to move away from it. I also want to move to ESM, and Typescript (which I already contributed to some bots written in both), however, I want to see if there is any suggestions for a good bot backend that supports things like database connections and other connections (i.e. Noblox support). I know OOP is vital here, so please, it would help me a lot!

Vanity Role

I've been trying to figure out how to see a user's custom status/description, is there anyway to do that? I've tried looking their the docs and haven't found anything to see their description or custom status.

discord bot mute command

example .mute @Ashleydafox 5m i try 1s something 10m, 15m 20d, const { PermissionFlagsBits } = require("discord.js"); const ms = require("ms"); module.exports = { name: "mute",...