Skip to content

Commit a0126aa

Browse files
committed
chore: nits
1 parent e5dc9ff commit a0126aa

File tree

5 files changed

+3
-7
lines changed

5 files changed

+3
-7
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
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

.github/workflows/publish-dev-docker.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ jobs:
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

.github/workflows/publish-docker.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ jobs:
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

packages/proxy-container/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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]

packages/redis-gateway/README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ import { PubSubRedisBroker } from '@discordjs/brokers';
4646
import { GatewayDispatchEvents, InteractionType, GatewayOpcodes } from 'discord-api-types/v10';
4747

4848
const redis = new Redis();
49-
const broker = new PubSubRedisBroker({ redisClient: redis, encode, decode });
49+
const broker = new PubSubRedisBroker({ redisClient: redis });
5050

5151
broker.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

7878
Also note that [core](https://github.com/discordjs/discord.js/tree/main/packages/core) supports an
7979
abstract `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]

0 commit comments

Comments
 (0)