mirror of
https://github.com/System-End/Discord-MC-Chat.git
synced 2026-04-19 22:05:11 +00:00
Name the thread for Discord event handling
This commit is contained in:
parent
90f7c911fa
commit
39f4189a9a
1 changed files with 1 additions and 0 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue