From 71922b1308dd2510db582e60a2ac9758ad92bff3 Mon Sep 17 00:00:00 2001
From: kosugikun <>
Date: Sun, 9 Jul 2023 22:41:30 +0900
Subject: [PATCH] =?UTF-8?q?=E8=84=86=E5=BC=B1=E6=80=A7=E3=81=AE=E4=BF=AE?=
=?UTF-8?q?=E6=AD=A3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pom.xml | 4 ++--
src/main/java/dev/cosgy/textToSpeak/Listener.kt | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/pom.xml b/pom.xml
index 541c22d..0eff3ac 100644
--- a/pom.xml
+++ b/pom.xml
@@ -119,12 +119,12 @@
org.xerial
sqlite-jdbc
- 3.36.0.3
+ 3.42.0.0
org.json
json
- 20220924
+ 20230227
org.jetbrains.kotlin
diff --git a/src/main/java/dev/cosgy/textToSpeak/Listener.kt b/src/main/java/dev/cosgy/textToSpeak/Listener.kt
index f3c3923..54b2259 100644
--- a/src/main/java/dev/cosgy/textToSpeak/Listener.kt
+++ b/src/main/java/dev/cosgy/textToSpeak/Listener.kt
@@ -89,7 +89,7 @@ class Listener(private val bot: Bot) : ListenerAdapter() {
}
}
if (event.channelJoined != null) {
- if (settings!!.isJoinAndLeaveRead() && Objects.requireNonNull(event.guild.selfMember.voiceState)?.channel === event.channelJoined) {
+ if (settings.isJoinAndLeaveRead() && Objects.requireNonNull(event.guild.selfMember.voiceState)?.channel === event.channelJoined) {
val file: String? = try {
bot.voiceCreation.createVoice(
event.guild,