From f66b5e9c255e1df2d5584b7f5672e5d46bef40b8 Mon Sep 17 00:00:00 2001 From: ZtereoHYPE <57519662+ZtereoHYPE@users.noreply.github.com> Date: Thu, 3 Feb 2022 03:09:16 +0100 Subject: [PATCH] bruh i forgor from config --- src/main/java/codes/ztereohype/ztereomusic/ZtereoMUSIC.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/codes/ztereohype/ztereomusic/ZtereoMUSIC.java b/src/main/java/codes/ztereohype/ztereomusic/ZtereoMUSIC.java index 123a969..f533105 100644 --- a/src/main/java/codes/ztereohype/ztereomusic/ZtereoMUSIC.java +++ b/src/main/java/codes/ztereohype/ztereomusic/ZtereoMUSIC.java @@ -18,10 +18,10 @@ import net.dv8tion.jda.api.JDA; import net.dv8tion.jda.api.JDABuilder; import net.dv8tion.jda.api.requests.GatewayIntent; import net.dv8tion.jda.api.utils.cache.CacheFlag; -import net.shadew.json.JsonSyntaxException; import javax.security.auth.login.LoginException; import java.io.FileNotFoundException; +import java.io.IOException; import java.util.EnumSet; import java.util.HashMap; import java.util.Map; @@ -46,8 +46,8 @@ public class ZtereoMUSIC { return ZtereoMUSIC.INSTANCE; } - @SneakyThrows({ JsonSyntaxException.class, FileNotFoundException.class, LoginException.class, - InterruptedException.class }) + @SneakyThrows({ FileNotFoundException.class, LoginException.class, + InterruptedException.class, IOException.class }) public static void main(String[] args) { ZtereoMUSIC ztereoMUSIC = ZtereoMUSIC.getInstance();