Describe the bug
If someone join and get instant banned e.g., because of an Automod he is (probably) not in the Database yet, so the Bot throw an Error when he tries to remove the User
To Reproduce
I didn't reproduce it yet
Additional context
13:32:57 JDA MainWS-ReadThread JDA ERROR One of the EventListeners had an uncaught exception
de.mineking.javautils.database.exception.ConflictException: null
at de.mineking.javautils.database.TableImpl.update(TableImpl.java:241)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at de.mineking.javautils.database.TableImpl.invoke(TableImpl.java:267)
at jdk.proxy2/jdk.proxy2.$Proxy15.update(Unknown Source)
at de.mineking.javautils.database.DataClass.update(DataClass.java:19)
at de.slimecloud.slimeball.features.level.Level.update(Level.java:52)
at de.slimecloud.slimeball.features.level.LevelTable.reset(LevelTable.java:65)
at java.base/java.lang.reflect.InvocationHandler.invokeDefault(InvocationHandler.java:286)
at de.mineking.javautils.database.TableImpl.invoke(TableImpl.java:273)
at jdk.proxy2/jdk.proxy2.$Proxy15.reset(Unknown Source)
at de.slimecloud.slimeball.features.level.LevelListener.onGuildBan(LevelListener.java:51)
at net.dv8tion.jda.api.hooks.ListenerAdapter.onEvent(ListenerAdapter.java:447)
at net.dv8tion.jda.api.hooks.InterfacedEventManager.handle(InterfacedEventManager.java:96)
at net.dv8tion.jda.internal.hooks.EventManagerProxy.handleInternally(EventManagerProxy.java:88)
at net.dv8tion.jda.internal.hooks.EventManagerProxy.handle(EventManagerProxy.java:70)
at net.dv8tion.jda.internal.JDAImpl.handleEvent(JDAImpl.java:173)
at net.dv8tion.jda.internal.handle.GuildBanHandler.handleInternally(GuildBanHandler.java:56)
at net.dv8tion.jda.internal.handle.SocketHandler.handle(SocketHandler.java:39)
at net.dv8tion.jda.internal.requests.WebSocketClient.onDispatch(WebSocketClient.java:1007)
at net.dv8tion.jda.internal.requests.WebSocketClient.onEvent(WebSocketClient.java:893)
at net.dv8tion.jda.internal.requests.WebSocketClient.handleEvent(WebSocketClient.java:871)
at net.dv8tion.jda.internal.requests.WebSocketClient.onBinaryMessage(WebSocketClient.java:1046)
at com.neovisionaries.ws.client.ListenerManager.callOnBinaryMessage(ListenerManager.java:385)
at com.neovisionaries.ws.client.ReadingThread.callOnBinaryMessage(ReadingThread.java:276)
at com.neovisionaries.ws.client.ReadingThread.handleBinaryFrame(ReadingThread.java:996)
at com.neovisionaries.ws.client.ReadingThread.handleFrame(ReadingThread.java:755)
at com.neovisionaries.ws.client.ReadingThread.main(ReadingThread.java:108)
at com.neovisionaries.ws.client.ReadingThread.runMain(ReadingThread.java:64)
at com.neovisionaries.ws.client.WebSocketThread.run(WebSocketThread.java:45)
Describe the bug If someone join and get instant banned e.g., because of an Automod he is (probably) not in the Database yet, so the Bot throw an Error when he tries to remove the User
To Reproduce I didn't reproduce it yet
Additional context