dont start express server
This commit is contained in:
		
							
								
								
									
										13
									
								
								index.ts
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								index.ts
									
									
									
									
									
								
							@@ -2,12 +2,13 @@ import { config } from "./server/configuration"
 | 
				
			|||||||
import Server from "./server/server"
 | 
					import Server from "./server/server"
 | 
				
			||||||
import { ExtendedClient } from "./server/structures/client"
 | 
					import { ExtendedClient } from "./server/structures/client"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
const server = Server.init(config.port)
 | 
					//const server = Server.init(config.port)
 | 
				
			||||||
export const client = new ExtendedClient()
 | 
					export const client = new ExtendedClient()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					 | 
				
			||||||
server.start(() => {
 | 
					 | 
				
			||||||
	console.log(`Server running on port ${server.getPort()}`)
 | 
					 | 
				
			||||||
	//const discordAdapter = new DiscordAdapter()
 | 
					 | 
				
			||||||
client.start()
 | 
					client.start()
 | 
				
			||||||
})
 | 
					
 | 
				
			||||||
 | 
					//server.start(() => {
 | 
				
			||||||
 | 
					//	console.log(`Server running on port ${server.getPort()}`)
 | 
				
			||||||
 | 
					//	//const discordAdapter = new DiscordAdapter()
 | 
				
			||||||
 | 
					//	client.start()
 | 
				
			||||||
 | 
					//})
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user