File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed
Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -31,12 +31,10 @@ class WebhooksManager extends EventEmitter {
3131 * @param {Discord.Client } client The Discord Client
3232 * @param {Express.Port } Webserver port
3333 */
34- constructor ( client , port , options ) {
34+ constructor ( client , port , options , init = true ) {
3535 super ( ) ;
3636 console . log ( chalk . red ( "-----------------------" ) ) ;
37- console . log (
38- "All Manager Options Updated Check Our Docs Now! https://github.com/MaximKing1/BLWebhooks#readme"
39- ) ;
37+ console . log ( "All Manager Options Updated Check Our Docs Now! https://github.com/MaximKing1/BLWebhooks#readme" ) ;
4038 console . log ( chalk . red ( "----------------------" ) ) ;
4139
4240 /**
@@ -72,12 +70,9 @@ class WebhooksManager extends EventEmitter {
7270 app . use ( limiter ) ;
7371 app . use ( speedLimiter ) ;
7472 app . use ( cookieParser ( ) ) ;
75- console . log (
76- chalk . green (
77- `[BLWEBHOOKS] The Vote Webserver Has Started On Port ${ port } .`
78- )
79- ) ;
73+ console . log ( chalk . green ( `[BLWEBHOOKS] The Vote Webserver Has Started On Port ${ port } .` ) ) ;
8074 }
75+ if ( init ) this . _init ( ) ;
8176 }
8277
8378 async shardedClient ( toggle ) {
You can’t perform that action at this time.
0 commit comments