Skip to content

fjodor-rybakov/discord-nestjs

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Folders and files

NameName
Last commit message
Last commit date
Mar 20, 2023
Mar 30, 2022
Sep 19, 2023
Oct 23, 2021
May 1, 2022
Jul 5, 2023
Oct 7, 2021
Sep 27, 2020
Jan 30, 2023
Jul 5, 2023
Sep 19, 2023
Sep 19, 2023
Oct 7, 2021
May 14, 2023

Repository files navigation

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