discord.js - Imagine a 👻

DIA

discord.js - Imagine a 👻

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

Join

djs-questions

djs-voice

Bad typings

export type RESTPutAPIGuildMemberResult = APIGuildMember | never;
export type RESTPutAPIGuildMemberResult = APIGuildMember | never;
must be ```ts...

BASE_TYPE_MIN_LENGTH

Hey 👋 , I'm getting the following error from the following code, any ideas? ```js...

Need help with subcommands

i cant figure how to get this subcommand right, its the info command and it has the user and the server subcommands

Typescript template/support

Hey, I want to convert my discord.js javascript bot to typescript, is there any good or popular discord.js template/tutorial for the deploying and stuff? Need something that supports event, interactions, etc, handlers....

"chartJS.register is not a function", why?

it says that after updating several npm modules

Need help with setting up a Role option in a slash command

im tryna make a command to specify a income role, when i try to start the bot i get this error: ```/home/container/node_modules/@sapphire/shapeshift/dist/index.js:47 throw this.error; ^ ExpectedConstraintError: Invalid string format at Object.run (/home/container/node_modules/@sapphire/shapeshift/dist/index.js:1587:64)...

Guild ID from audit log entry?

I'm trying to make a mod log system,. and thus am listening for audit log entry create events - however I can't see a property that is on ALL events that contains the guild ID? How could I get the guild ID reliably from audit log entry create events?

token is not present

hello, it tells me that a token is missing when he manages to connect he tells me that.

Application command Route

What is the Route in discord-api-types to get all slash commands of my bot?

Client not able to edit a channel even with all permissions

I'm trying to edit a channel's name, but keep getting told I'm "missing access" (don't have permission to edit the channel). Serialized permissions in the channel: ```js { CreateInstantInvite: false,...

Discord Slash Embed Message

Hi guys, how do i add a field in embed slash message ??

Auto remove file

There is my code but bot send files but not delete. ` setTimeout(() => { try { filesToSend.forEach((file) => {...

How to access interaction.options.getSubcommand()

Hi, I have a command in which I also have two subcommands. However when I try to access the subcommand via the getSubcommand() the function is not available for me...

How to use @discordjs/rest dev release

I would like to use @discordjs/rest on Cloudflare Workers and see that edge/web compatibility has been merged. Can I use this as a beta version already or do I have to wait for 2.0.0?

Upgarding ChannelType from djsv13 to djsv14

Hi! Can i know whats the new replacement for (its currently in djsv13): ```js ...

when user get focusedValue in discord.js how to get which choice did user select in autocomplete

when user get focusedValue in discord.js how to get which choice did user select in autocomplete