Name the thread for Discord event handling

This commit is contained in:
Xujiayao 2026-03-17 23:34:26 +08:00 committed by Jason Xu
parent 90f7c911fa
commit 39f4189a9a

View file

@ -80,6 +80,7 @@ public class DiscordManager {
GatewayIntent.GUILD_MESSAGE_REACTIONS
)
.setMemberCachePolicy(MemberCachePolicy.ALL)
.setEventPool(Executors.newSingleThreadExecutor(ExecutorServiceUtils.newThreadFactory("DMCC-DiscordEvent")), true)
.addEventListeners(new DiscordEventHandler())
.build();