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