Skip to content
This repository has been archived by the owner on Jan 4, 2021. It is now read-only.

Commit

Permalink
SS-Core v2.10 に対応
Browse files Browse the repository at this point in the history
  • Loading branch information
sya-ri committed May 31, 2020
1 parent 16f2ce3 commit c460435
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ repositories {
dependencies {
implementation(kotlin("stdlib-jdk8"))
implementation("com.destroystokyo.paper:paper-api:1.15.2-R0.1-SNAPSHOT")
implementation("me.syari.ss.core:SS-Core:2.9")
implementation("me.syari.ss.core:SS-Core:2.10")
implementation("com.google.code.gson:gson:2.8.0")
compileOnly("com.neovisionaries:nv-websocket-client:2.9")
compileOnly("com.squareup.okhttp3:okhttp:4.7.1"){
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import me.syari.ss.discord.Main.Companion.discordPlugin

object DiscordConnector: OnEnable {
override fun onEnable() {
config(discordPlugin, console, "config.yml"){
config(discordPlugin, console, "config.yml", default = mapOf("bot_token" to "")){
val token = get("bot_token", ConfigDataType.STRING)
if(token != null){
Discord.init(token){ event ->
Expand Down

0 comments on commit c460435

Please sign in to comment.