Newer
Older
yuyuko-bot / src / main / scala / DiscordBot.scala
@Dale TwoKey Dale TwoKey on 23 Aug 2021 362 bytes misc: Initial commit
package social.gensokyo.discordbot

import com.typesafe.config.ConfigFactory
import slick.jdbc.JdbcBackend.Database

object DiscordBot {
  private implicit val db: Database = Database.forConfig("gensocbot")

  def main(args: Array[String]): Unit = {
    val config = ConfigFactory.load()
    val discord = new GensokyoBot(config.getString("discordToken"))
  }
}