main #8
1 changed files with 2 additions and 2 deletions
|
@ -13,8 +13,8 @@ import java.util.*
|
||||||
val prop = Properties()
|
val prop = Properties()
|
||||||
|
|
||||||
class Config {
|
class Config {
|
||||||
val confPath = Paths.get("").toAbsolutePath().toString()
|
private val confPath = Paths.get("").toAbsolutePath().toString()
|
||||||
val confFile = File("$confPath/bot.cfg")
|
private val confFile = File("$confPath/bot.cfg")
|
||||||
|
|
||||||
init {
|
init {
|
||||||
if (confFile.exists()) {
|
if (confFile.exists()) {
|
||||||
|
|
Loading…
Reference in a new issue