mirror of
https://github.com/amalthea-mc/spigot-tg-bridge.git
synced 2024-11-23 10:52:26 +00:00
Remove unused file
This commit is contained in:
parent
b0bdac4f84
commit
8279fc9022
@ -1,28 +0,0 @@
|
||||
package org.kraftwerk28.spigot_tg_bridge
|
||||
|
||||
import java.sql.Connection
|
||||
import java.sql.DriverManager
|
||||
import java.sql.SQLException
|
||||
|
||||
class Auth() {
|
||||
var conn: Connection? = null
|
||||
|
||||
suspend fun connect() {
|
||||
try {
|
||||
val connString = "jdbc:sqlite:spigot-tg-bridge.sqlite"
|
||||
val initDbQuery = """
|
||||
create table if not exists ign_links (
|
||||
telegram_id bigint,
|
||||
telegram_username varchar,
|
||||
minecraft_ign varchar,
|
||||
linked_timestamp int
|
||||
)
|
||||
"""
|
||||
conn = DriverManager.getConnection(connString).apply {
|
||||
createStatement().execute(initDbQuery)
|
||||
}
|
||||
} catch (e: SQLException) {
|
||||
e.printStackTrace()
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user