Code:
suspend fun tokenCheck(message: Message): String? {
return readConfigSafe<AuthConfig>(ConfigType.AUTH, true)?.let {
it.githubToken
} ?: run {
message.error("Github Token not found!")
null
}
}
This is entirely incorrect and isn’t empty at all