Commit ba5f1c8
committed
fix: add Discord.js dependencies and activate Discord setup UI
DISCORD DEPENDENCY FIX:
- Install zlib-sync@0.1.10 (required by discord.js for compression)
- Install bufferutil@4.1.0 (performance optimization)
- Install utf-8-validate@6.0.6 (WebSocket validation)
These are optional dependencies for discord.js but required for
proper functionality and performance.
DISCORD UI ACTIVATION:
- Import DiscordSetup component in dashboard/page.tsx
- Replace 'Coming Soon' alert with fully functional DiscordSetup
- Discord now has same UX flow as Telegram and WhatsApp
FIXES:
- Resolves 'Module not found: zlib-sync' build error
- Discord messaging channel now accessible in Automation tab
- Users can now set up Discord bots for receiving daily sparks1 parent b996043 commit ba5f1c8
3 files changed
Lines changed: 27 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
32 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
33 | 36 | | |
34 | 37 | | |
35 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
332 | 333 | | |
333 | 334 | | |
334 | 335 | | |
335 | | - | |
336 | | - | |
337 | | - | |
338 | | - | |
339 | | - | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | | - | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
344 | 345 | | |
345 | 346 | | |
346 | 347 | | |
| |||
0 commit comments