Skip to content

Latest commit

 

History

History
77 lines (52 loc) · 4.4 KB

README.md

File metadata and controls

77 lines (52 loc) · 4.4 KB

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications, heavily inspired by Angular.

Package License

👨🏻‍💻 Installation

$ npm install @discord-nestjs/core discord.js

Or via yarn

$ yarn add @discord-nestjs/core discord.js

🧾 Description

NestJS package for discord.js

This monorepo consists of several packages.

❓ Answers on questions

The bot starts up, but the slash commands and events do not work

Click to expand

Check your intent is passed to the discordClientOptions of the module. More info

I created DTO and added SlashCommandPipe, but when I receive response to the command, the DTO fields are missing

Click to expand

Set useDefineForClassFields to true in your tsconfig.json. Also check that the @InteractionEvent decorators are set.

Any questions or suggestions? Join Discord https://discord.gg/kv89Q2dXSR