mirror of
https://gitlab.com/bignutty/labscore.git
synced 2025-06-09 06:33:05 -04:00
prodnew config
This commit is contained in:
parent
02c212affd
commit
74b2b66bf2
1 changed files with 4 additions and 1 deletions
5
index.js
5
index.js
|
@ -7,7 +7,10 @@ const token = process.env.token;
|
|||
|
||||
let client = `../${__dirname}/labscore/client.js`
|
||||
if(process.env.environment == "local") client = `./labscore/client.js`
|
||||
if(process.env.environment == "prodnew") client = `./labscore/labscore/client.js`
|
||||
if(process.env.environment == "prodnew"){
|
||||
client = `./labscore/labscore/client.js`;
|
||||
require('detritus-client-rest').Endpoints.Urls.STABLE = "https://canary.discord.com/";
|
||||
}
|
||||
|
||||
const SHARDS = process.env.SHARDS || 2;
|
||||
const SHARDS_PER_CLUSTER = process.env.SHARDS_PER_CLUSTER_OVERRIDE || 2;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue