This commit is contained in:
Christopher Cookman 2024-04-15 00:25:14 -06:00
parent 037fccca23
commit ea257d723d
Signed by: ChrisChrome
GPG key ID: A023A26E42C33A42

View file

@ -186,7 +186,7 @@ let slowmode_channels = [];
let slowmode_categories = [];
client.on("ready", async () => {
console.log(`${colors.magenta("[DEBUG]")} Environment variables: ${JSON.strinfigy(process.env)}`)
console.log(`${colors.magenta("[DEBUG]")} Environment variables: ${JSON.stringify(process.env)}`)
// Get port for webserver from environment over config file (for running on pterodactyl/other panels)
var port = process.env.PORT || config.port;
// Start webserver