Remove unwise nextTick delay

This commit is contained in:
Cadence Ember
2026-09-11 12:47:15 +12:00
parent 1bb22e315a
commit 7faa8a3c9e
-2
View File
@@ -55,10 +55,8 @@ class DiscordClient {
this.guildChannelMap = new Map()
if (listen !== "no") {
this.cloud.on("event", message => {
process.nextTick(() => {
discordPackets.onPacket(this, message, listen)
})
})
}
if (CONNECTION_DEBUG) {