File tree Expand file tree Collapse file tree 5 files changed +3
-7
lines changed Expand file tree Collapse file tree 5 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 2020/packages /next / @ discordjs/core
2121/packages /proxy / @ discordjs/proxy
2222/packages /proxy-container / @ discordjs/proxy
23- /packages /redis-gateway / @ discordjs/redis-gateway
23+ /packages /redis-gateway / @ discordjs/brokers @ discordjs/ws
2424/packages /rest / @ discordjs/rest
2525/packages /scripts / @ discordjs/scripts
2626/packages /ui / @ discordjs/ui
Original file line number Diff line number Diff line change 2424 uses : actions/setup-node@v3
2525 with :
2626 node-version : 18
27- registry-url : https://registry.npmjs.org/
2827
2928 - name : Install dependencies
3029 uses : ./packages/actions/src/yarnCache
Original file line number Diff line number Diff line change 2323 uses : actions/setup-node@v3
2424 with :
2525 node-version : 18
26- registry-url : https://registry.npmjs.org/
2726
2827 - name : Install dependencies
2928 uses : ./packages/actions/src/yarnCache
Original file line number Diff line number Diff line change @@ -55,7 +55,6 @@ Webhooks with tokens or other requests that don't include the Authorization head
5555## Links
5656
5757- [ Website] [ website ] ([ source] [ website-source ] )
58- - [ Documentation] [ documentation ]
5958- [ Guide] [ guide ] ([ source] [ guide-source ] )
6059 Also see the v13 to v14 [ Update Guide] [ guide-update ] , which includes updated and removed items from the library.
6160- [ discord.js Discord server] [ discord ]
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ import { PubSubRedisBroker } from '@discordjs/brokers';
4646import { GatewayDispatchEvents , InteractionType , GatewayOpcodes } from ' discord-api-types/v10' ;
4747
4848const redis = new Redis ();
49- const broker = new PubSubRedisBroker ({ redisClient: redis, encode, decode });
49+ const broker = new PubSubRedisBroker ({ redisClient: redis });
5050
5151broker .on (GatewayDispatchEvents .InteractionCreate , async ({ data: interaction, ack }) => {
5252 if (interaction .type !== InteractionType .ApplicationCommand ) {
@@ -77,12 +77,11 @@ refer to [this container's implementation](https://github.com/discordjs/discord.
7777
7878Also note that [ core] ( https://github.com/discordjs/discord.js/tree/main/packages/core ) supports an
7979abstract ` gateway ` property that can be easily implemented, making this pretty comfortable to
80- use in conjunction. Refer to the [ Gateway documentation] ( https://discord.js.org/docs/packages/core/main/Gateway:Interface )
80+ use in conjunction. Refer to the [ Gateway documentation] ( https://discord.js.org/docs/packages/core/main/Gateway:Interface ) .
8181
8282## Links
8383
8484- [ Website] [ website ] ([ source] [ website-source ] )
85- - [ Documentation] [ documentation ]
8685- [ Guide] [ guide ] ([ source] [ guide-source ] )
8786 Also see the v13 to v14 [ Update Guide] [ guide-update ] , which includes updated and removed items from the library.
8887- [ discord.js Discord server] [ discord ]
You can’t perform that action at this time.
0 commit comments