fix: fixed the bot crashing when booting to generate a new config file

Signed-off-by: limited_dev <loginakkisativ@gmail.com>
This commit is contained in:
limited_dev 2023-05-18 17:31:16 +02:00
parent 6b048d0991
commit be7dcd80e4

View file

@ -85,6 +85,12 @@ object CredentialManager {
prop.setProperty("dbPassword", "empty") prop.setProperty("dbPassword", "empty")
prop.store(output, null) prop.store(output, null)
output.close() output.close()
token = "empty"
dbDomain = "empty"
dbName = "empty"
dbUser = "empty"
dbPassword = "empty"
} catch (e: IOException) { } catch (e: IOException) {
e.printStackTrace() e.printStackTrace()
} }