Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Tech-13 authored Jan 18, 2025
2 parents 54dc239 + f59d3fc commit 9b85517
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/reference/notification.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ Refer to https://github.com/node-apn/node-apn for config options.
| `DISCORD_NOTIFY_GROUP_4080_12G` | Discord group to notify on 4080 12G stock |
| `DISCORD_NOTIFY_GROUP_4080_16G` | Discord group to notify on 4080 16G stock |
| `DISCORD_NOTIFY_GROUP_4090` | Discord group to notify on 4090 stock |
| `DISCORD_NOTIFY_GROUP_5070` | Discord group to notify on 5070 stock |
| `DISCORD_NOTIFY_GROUP_5070TI` | Discord group to notify on 5070 Ti stock |
| `DISCORD_NOTIFY_GROUP_5080` | Discord group to notify on 5080 stock |
| `DISCORD_NOTIFY_GROUP_5090` | Discord group to notify on 5090 stock |
| `DISCORD_NOTIFY_GROUP_RYZEN5600` | Discord group to notify on 5600X stock |
| `DISCORD_NOTIFY_GROUP_RYZEN5800` | Discord group to notify on 5800X stock |
| `DISCORD_NOTIFY_GROUP_RYZEN5900` | Discord group to notify on 5900X stock |
Expand Down
4 changes: 4 additions & 0 deletions dotenv-example
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ DISCORD_NOTIFY_GROUP_3090=
DISCORD_NOTIFY_GROUP_4080_12G=
DISCORD_NOTIFY_GROUP_4080_16G=
DISCORD_NOTIFY_GROUP_4090=
DISCORD_NOTIFY_GROUP_5070=
DISCORD_NOTIFY_GROUP_5070TI=
DISCORD_NOTIFY_GROUP_5080=
DISCORD_NOTIFY_GROUP_5090=
DISCORD_NOTIFY_GROUP_CORSAIR_SF=
DISCORD_NOTIFY_GROUP_RX6800=
DISCORD_NOTIFY_GROUP_RX6800XT=
Expand Down
4 changes: 4 additions & 0 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,10 @@ const notifications = {
'4080-12g': envOrArray(process.env.DISCORD_NOTIFY_GROUP_4080_12G),
'4080-16g': envOrArray(process.env.DISCORD_NOTIFY_GROUP_4080_16G),
4090: envOrArray(process.env.DISCORD_NOTIFY_GROUP_4090),
5070: envOrArray(process.env.DISCORD_NOTIFY_GROUP_5070),
'5070ti': envOrArray(process.env.DISCORD_NOTIFY_GROUP_5070TI),
5080: envOrArray(process.env.DISCORD_NOTIFY_GROUP_5080),
5090: envOrArray(process.env.DISCORD_NOTIFY_GROUP_5090),
'captcha-deterrent': [],
darkhero: envOrArray(process.env.DISCORD_NOTIFY_GROUP_DARKHERO),
rx6700xt: envOrArray(process.env.DISCORD_NOTIFY_GROUP_RX6700XT),
Expand Down

0 comments on commit 9b85517

Please sign in to comment.