diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 0398777..d65e353 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -4,14 +4,9 @@
-
-
-
-
-
-
+
-
+
@@ -226,7 +221,14 @@
1601042375685
-
+
+ 1622221667210
+
+
+
+ 1622221667210
+
+
@@ -247,7 +249,8 @@
-
+
+
diff --git a/src/main/kotlin/de/wulkanat/Channels.kt b/src/main/kotlin/de/wulkanat/Channels.kt
index c98b6ac..896d0b7 100644
--- a/src/main/kotlin/de/wulkanat/Channels.kt
+++ b/src/main/kotlin/de/wulkanat/Channels.kt
@@ -8,7 +8,6 @@ import kotlinx.serialization.json.Json
import net.dv8tion.jda.api.EmbedBuilder
import net.dv8tion.jda.api.Permission
import net.dv8tion.jda.api.entities.Message
-import net.dv8tion.jda.api.entities.TextChannel
import java.awt.Color
object Channels {
diff --git a/src/main/kotlin/de/wulkanat/Main.kt b/src/main/kotlin/de/wulkanat/Main.kt
index 09ea5f9..c278c6a 100644
--- a/src/main/kotlin/de/wulkanat/Main.kt
+++ b/src/main/kotlin/de/wulkanat/Main.kt
@@ -19,7 +19,6 @@ import org.quartz.impl.StdSchedulerFactory
import javax.security.auth.login.LoginException
import kotlin.concurrent.timer
-
object Main {
@JvmField
var jdas = mutableListOf()
@@ -28,7 +27,8 @@ object Main {
fun main(args: Array) {
val builder = JDABuilder.createLight(
Admin.token,
- GatewayIntent.GUILD_MESSAGES, GatewayIntent.DIRECT_MESSAGES)
+ GatewayIntent.GUILD_MESSAGES, GatewayIntent.DIRECT_MESSAGES
+ )
.setActivity(Activity.watching(Admin.message))
configureMemoryUsage(builder)
@@ -92,7 +92,6 @@ object Main {
}
-
fun configureMemoryUsage(builder: JDABuilder) {
// Disable cache for member activities (streaming/games/spotify)
builder.disableCache(CacheFlag.ACTIVITY)
@@ -110,5 +109,4 @@ object Main {
// Large guilds will only provide online members in their setup and thus reduce bandwidth if chunking is disabled.
builder.setLargeThreshold(50)
}
-
}
\ No newline at end of file