File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 "clean" : " rm -rf dist" ,
2121 "main" : " npm run build & node --env-file=.env dist/app.js" ,
2222 "start" : " NODE_ENV=development node --trace-uncaught -r ts-node/register --env-file=.env src/app.ts" ,
23- "start:deploy" : " NODE_ENV=production node --trace-uncaught -r ts-node/register src/app.ts"
23+ "start:deploy" : " NODE_ENV=production node --trace-uncaught -r ts-node/register src/app.ts" ,
24+ "start:deplow:dev" : " NODE_ENV=development node --trace-uncaught -r ts-node/register src/app.ts"
2425 },
2526 "repository" : {
2627 "type" : " git" ,
Original file line number Diff line number Diff line change @@ -163,9 +163,9 @@ export class CopBot {
163163 }
164164 @Catch ( )
165165 async initial ( ) : Promise < void > {
166- await this . start ( ) ;
167166 new GenerateCommand ( this . _bot ) . generate ( ) ;
168167 await this . message ( ) ;
168+ await this . start ( ) ;
169169 console . log ( 'Bot Is Start' ) ;
170170 }
171171}
You can’t perform that action at this time.
0 commit comments