fjodor-rybakov / discord-nestjs

πŸ‘Ύ NestJS package for discord.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

πŸ‘Ύ NestJS package for discord.js

License:MIT License


Languages

Language:TypeScript 99.6%Language:JavaScript 0.4%Language:Shell 0.0%