added environment variables
This commit is contained in:
parent
3712511d7d
commit
0c8f421e36
@ -6,12 +6,12 @@ const { searchTrack, requestTrack } = require('./spotify')
|
|||||||
const chalk = require('chalk')
|
const chalk = require('chalk')
|
||||||
|
|
||||||
const owners = ['notnull']
|
const owners = ['notnull']
|
||||||
|
|
||||||
const host = 'irc.anarchyplanet.org'
|
|
||||||
const port = 6667
|
|
||||||
const nick = 'radiobot'
|
|
||||||
const autojoin = ['#anarchybots']
|
const autojoin = ['#anarchybots']
|
||||||
|
|
||||||
|
const host = process.env.HOST || localhost
|
||||||
|
const port = process.env.PORT || 6667
|
||||||
|
const nick = process.env.NICK || 'radiobot'
|
||||||
|
|
||||||
console.log(chalk.magenta('\n***********************************\n'))
|
console.log(chalk.magenta('\n***********************************\n'))
|
||||||
console.log(chalk.magenta(`Connecting to ${host}\n`))
|
console.log(chalk.magenta(`Connecting to ${host}\n`))
|
||||||
console.log(chalk.magenta('***********************************\n'))
|
console.log(chalk.magenta('***********************************\n'))
|
||||||
|
Loading…
Reference in New Issue
Block a user