diff --git a/.release-it.json b/.release-it.json index 351919a..a039dc0 100644 --- a/.release-it.json +++ b/.release-it.json @@ -1,6 +1,7 @@ { "git": { - "commitMessage": "chore: release v${version}" + "commitMessage": "chore: release v${version}", + "requireCleanWorkingDir": false }, "github": { "release": true diff --git a/examples/stat-reporter/src/app.module.ts b/examples/stat-reporter/src/app.module.ts index a66e17b..a9c8381 100644 --- a/examples/stat-reporter/src/app.module.ts +++ b/examples/stat-reporter/src/app.module.ts @@ -11,13 +11,13 @@ import { CronExpression } from '@nestjs/schedule'; token: process.env.DISCORD_TOKEN, intents: [ GatewayIntentBits.Guilds, - GatewayIntentBits.DirectMessages, GatewayIntentBits.GuildMessages, - GatewayIntentBits.GuildMembers, - GatewayIntentBits.MessageContent, - GatewayIntentBits.GuildVoiceStates, + GatewayIntentBits.GuildMessageReactions, + GatewayIntentBits.DirectMessages, + GatewayIntentBits.DirectMessageReactions, ], partials: [Partials.Message, Partials.Channel, Partials.Reaction], + skipRegistration: true, }), NestCordStatReporterModule.forRoot({ services: [ diff --git a/examples/stat-reporter/src/main.ts b/examples/stat-reporter/src/main.ts index 14154c0..183458c 100644 --- a/examples/stat-reporter/src/main.ts +++ b/examples/stat-reporter/src/main.ts @@ -3,6 +3,6 @@ import { AppModule } from './app.module'; async function bootstrap() { const app = await NestFactory.create(AppModule); - await app.listen(2400); + await app.listen(0); } bootstrap(); diff --git a/package.json b/package.json index 5ed339e..c158965 100755 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@globalart/nestcord", "description": "A module for creating Discord bots using NestJS, based on Discord.js", - "version": "1.3.6", + "version": "1.3.7-0", "private": false, "scripts": { "build": "rimraf dist && tsc -p tsconfig.build.json",