mirror of
https://github.com/HMCore/Orbot.git
synced 2025-12-10 21:06:18 +00:00
add fat jar compile mode
This commit is contained in:
20
src/main/kotlin/de/wulkanat/DataIO.kt
Normal file
20
src/main/kotlin/de/wulkanat/DataIO.kt
Normal file
@@ -0,0 +1,20 @@
|
||||
package de.wulkanat
|
||||
|
||||
import kotlinx.serialization.Serializable
|
||||
import java.io.File
|
||||
|
||||
@Serializable
|
||||
data class DiscordChannel(
|
||||
val id: Long,
|
||||
val mentionedRole: String? = null
|
||||
)
|
||||
|
||||
@Serializable
|
||||
data class AdminFile(
|
||||
val adminId: Long,
|
||||
val token: String,
|
||||
val updateMs: Long
|
||||
)
|
||||
|
||||
val SERVERS_FILE = File("servers.json")
|
||||
val ADMIN_FILE = File("admin.json")
|
||||
Reference in New Issue
Block a user