New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: @discordjs/redis-gateway #9541
base: main
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git 鈫楋笌 |
cc74ecb
to
cfbd679
Compare
dbdd44d
to
73ba97a
Compare
Codecov Report
@@ Coverage Diff @@
## main #9541 +/- ##
==========================================
+ Coverage 58.64% 58.65% +0.01%
==========================================
Files 226 226
Lines 14790 14786 -4
Branches 1132 1132
==========================================
Hits 8673 8673
+ Misses 6077 6073 -4
Partials 40 40
Flags with carried forward coverage won't be shown. Click here to find out more. see 1 file with indirect coverage changes 馃摚 We鈥檙e building smart automated test selection to slash your CI/CD build times. Learn more |
73ba97a
to
66497f1
Compare
Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com>
await api.interactions.reply(interaction.id, interaction.token, { content: 'Pong!', flags: MessageFlags.Ephemeral }); | ||
}); | ||
|
||
await gateway.init('work_balancing_group', [GatewayDispatchEvents.InteractionCreate]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not a blocker but is there any way to listen to all events without needing to pass them all in (or hacking it in via Object.values(GatewayDispatchEvents))
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no, but i dont really see when you'd want that either way if you're using a message broker, the point is to split things up depending on functionality and specifically what events said functionality needs
Co-authored-by: Vlad Frangu <kingdgrizzle@gmail.com>
Please describe the changes this PR makes and why it should be merged:
new package pog
馃 Generated by Copilot at 73ba97a
few notes:
core
's newGateway