File tree 2 files changed +4
-4
lines changed
src/main/kotlin/gg/obsidian/discordbridge
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ plugins {
23
23
apply plugin : ' kotlin'
24
24
25
25
group = ' gg.obsidian'
26
- version = ' 1.5 .0'
26
+ version = ' 1.6 .0'
27
27
description = """ Bridge chat between Minecraft and Discord"""
28
28
ext. url = ' https://github.com/the-obsidian/DiscordBridge'
29
29
@@ -43,7 +43,7 @@ repositories {
43
43
dependencies {
44
44
compile group : ' org.spigotmc' , name : ' spigot-api' , version :' 1.8.8-R0.1-SNAPSHOT'
45
45
compile group : ' org.jetbrains.kotlin' , name : ' kotlin-stdlib' , version :' 1.0.0-rc-1036'
46
- compile group : ' net.dv8tion' , name : ' JDA' , version :' 1.2.2_165 '
46
+ compile group : ' net.dv8tion' , name : ' JDA' , version :' 1.3.0_188 '
47
47
}
48
48
49
49
processResources {
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import net.dv8tion.jda.entities.Guild
5
5
import net.dv8tion.jda.entities.TextChannel
6
6
7
7
class DiscordConnection (val plugin : Plugin ) : Runnable {
8
- var api = JDABuilder (plugin.configuration.EMAIL , plugin.configuration.PASSWORD ).enableVoice (false ).buildBlocking()
8
+ var api = JDABuilder (plugin.configuration.EMAIL , plugin.configuration.PASSWORD ).setAudioEnabled (false ).buildBlocking()
9
9
var listener = DiscordListener (plugin, api, this )
10
10
var server: Guild ? = null
11
11
var channel: TextChannel ? = null
@@ -32,7 +32,7 @@ class DiscordConnection(val plugin: Plugin) : Runnable {
32
32
fun reconnect () {
33
33
api.removeEventListener(listener)
34
34
api.shutdown(false )
35
- api = JDABuilder (plugin.configuration.EMAIL , plugin.configuration.PASSWORD ).enableVoice (false ).buildBlocking()
35
+ api = JDABuilder (plugin.configuration.EMAIL , plugin.configuration.PASSWORD ).setAudioEnabled (false ).buildBlocking()
36
36
listener = DiscordListener (plugin, api, this )
37
37
api.addEventListener(listener)
38
38
}
You can’t perform that action at this time.
0 commit comments