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

Unkown User

```js node:events:496 throw er; // Unhandled 'error' event ^ ...

Is it possible to make discord.js use Redis for Cache?

Hi, I've been having issues with RAM because of discord.js's cache, is there a way to make discord.js cache using redis?

Components V2 Error

When trying to use my Setup command, it keeps throwing this error: ```js CombinedError (2) Received one or more errors ...

i need help asap sorry im from Germany

i bought yesterday Nitro for 9,99 a month but i cant use nitro i tried every think i know but it dont work ......

I need help

When the bot is supposed to rename the channel, it does not. The erorr renameOrderChannel: Provided channel does not support setName! Type: undefined, ID: undefined Value received: test The orders/utils.js: https://sourceb.in/wx6EPfMBbV...

"ChannelNotCached" Error when Editing Messages sent via DM (v15)

Hello, Discord.js version: 15.0.0-dev.1749341741-8e03af6ea After enabling the "user install" option for my bot, I occasionally receive the following error when my bot attempts to edit a message (specifically, this happens with messages that have components. The message has an interaction collector which, upon ending, edits the message and replaces its components with disabled versions to prevent any further user interactions):...
No description

I cannot figure out what I am doing wrong, please help

After I press the unclaim button, the embed should dissapear, a new one should appear and the channel should be renamed. But it makes it dissapear and nothing else. Please help. My index.js: https://sourceb.in/gW6BG7VzcH...

Send a ContainerBuilder() in Ephemeral

Hello, I'm doing a command to manage a user (like ban, mute, ... but in the same command) and I want to use the new Components. But I would like to hide the reply to everybody but the user that did the command Here is my answer ```js...

Is it feasible to grab a random message from a server?

I'd like to be able to grab a completely random message that was sent anywhere/anytime in a server. Is this feasible without having to do something stupid like crawling through the entire server history beforehand.

Coding help needed!

I made a discord bot today and need sash commands on everything, but i dont know how i make that! What i have on my bot is -Balance.js...

Can we set both presence bubble and activity ?

Tried several ways but every time discord only show either the bubble or the activity never both of them

How to set bot's status bubble (not the Activity or Presence)

recently I found out about a bot that can show a status on status bubble (I don't know what it actually called) and not activity status or presence How can I achieve this? or it was not currently support?...
No description

Menu Design / UX

Hi there, I was wondering how devs make larger "forms" or interactive forms with the discord api. I have been trying to create a form to pick and choose parts for a robot, basically, you put a robot part into a slot and then save the build. Basic crud and posting a build as embed later. What I have tried so far is to have an embed with all the selected parts listed, and a dropdown to first select which slot to choose from, and then editing the reply to swap it out with a part picker dropdown and reset it back to a slot dropdown....

idk im trying to run this in bothosting net website

`const bot = mineflayer.createBot({ host: 'ip.aternos.host', // THIS IS THE IP OF YOUR SERVER username: 'BOTJIN', // HERE GOES THE BOT NAME port: 29595, // SERVER PORT version: '1.16.5',...

Can't send message to specific channels

In my ClientReady event. I can send a message to specific channel ```js const notiChannel = client.channels.cache.get('1379862671217791069'); notiChannel.send({ ...

Error: Expected the value to be a string or number

```js const { ButtonBuilder, ButtonStyle, ActionRowBuilder,...

Why does it say (node:3668) Warning: Supplying "ephemeral" for interaction response options is depre

(node:3668) Warning: Supplying "ephemeral" for interaction response options is deprecated. Utilize flags instead. (Use node --trace-warnings ... to show where the warning was created) Code: ```...

Thumbnail Components V2 ContainerBuilder

Hi, I have a question, how do I introduce a thumbnail into a ContainerBuilder please?

ComponentsV2 - How to set more than one button

Hello, I want to set ActionRows with maximum 5 buttons but we can't set more, and since on a section the setButtonAccessory is toset one I can't set a range of buttons (for play, stop shuffle, ect..) ```js const components = [ new ContainerBuilder()...

How i change color ContainerBuilder after send?

Hi devs, i need help with this, anyone knows how change the container color after send?