Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
f064d85
build: change eris to project dysnomia
jimchen5209 Jun 9, 2025
1742ebf
build: apply patch from eris
jimchen5209 Jun 9, 2025
1bf4e9c
build: try Snazzah/dysnomia#feat/dave-protocol for e2ee connection
jimchen5209 Jun 9, 2025
f1d0fba
build: update dysnomia to Snazzah/dysnomia#feat/dave-protocol @ 3a75011
jimchen5209 Jun 11, 2025
fb8b38c
feat: add voice debugging
jimchen5209 Jun 12, 2025
82ca932
build: update dysnomia to Snazzah/dysnomia#feat/dave-protocol @ 2348d2d
jimchen5209 Jun 12, 2025
29ab243
fix(Voice): IP Discovery packets should not have additional random co…
james58899 Jun 12, 2025
2b77e51
fix: try fix file send error causing crash and error spamming
jimchen5209 Jun 12, 2025
f5d596d
fix: drop voice data when userID is undefined
jimchen5209 Jun 13, 2025
33a3e66
fix: drop voice data when dave session is not ready
jimchen5209 Jun 13, 2025
38e4547
build: update dysnomia to Snazzah/dysnomia#feat/dave-protocol @ b8c155f
jimchen5209 Jun 14, 2025
e83e5d2
build: suppress dave not-ready and userID undefined warnings
jimchen5209 Jun 28, 2025
c8ddf8d
Merge branch 'main' into dysnomia
jimchen5209 Jun 28, 2025
c60c3ed
Merge branch 'main' into dysnomia
jimchen5209 Jul 8, 2025
2551e0a
Merge branch 'main' into dysnomia
jimchen5209 Jul 15, 2025
dda576c
fix: increase max hit count from 5 to 10 in FailSafe
jimchen5209 Jul 15, 2025
0f87e13
Merge branch 'main' into dysnomia
jimchen5209 Jul 28, 2025
194a7be
Merge branch 'main' into dysnomia
jimchen5209 Aug 10, 2025
4779942
Merge branch 'dev' into dysnomia
jimchen5209 Nov 8, 2025
36dde65
build: update projectdysnomia/dysnomia for pnpm and fix e2ee
jimchen5209 Nov 8, 2025
071a67d
style: reformat with biome
jimchen5209 Nov 8, 2025
631d465
style: try to fix biome rules
jimchen5209 Nov 8, 2025
6e9f434
build: restore e2ee warning
jimchen5209 Nov 8, 2025
95c4ba2
fix: remove failsafe for warning
jimchen5209 Nov 8, 2025
6772c1d
feat: implement MessageQueue for batching and processing messages
jimchen5209 Nov 8, 2025
7630434
Revert "fix: increase max hit count from 5 to 10 in FailSafe"
jimchen5209 Nov 8, 2025
5a3fb83
style: fix linting and reformat
jimchen5209 Nov 8, 2025
d8f78ea
fix: markdown message formatting
jimchen5209 Nov 8, 2025
e3d9c06
fix: bad request on telegram message
jimchen5209 Nov 9, 2025
0a49ebd
Merge branch 'dev' into dysnomia
jimchen5209 Nov 9, 2025
ce2cd22
build: update projectdysnomia/dysnomia to 0114e58
jimchen5209 Nov 9, 2025
785779d
fix: change parse_mode to 'Markdown' in sendMessage method
jimchen5209 Nov 10, 2025
3b3e623
fix: cannot shutdown properly
jimchen5209 Nov 10, 2025
553b0ce
fix: correct pluralization in warning and error messages
jimchen5209 Nov 10, 2025
403a7ca
fix: change process exit code to 1 for force quitting
jimchen5209 Nov 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
},
"description": "",
"dependencies": {
"@projectdysnomia/dysnomia": "github:projectdysnomia/dysnomia#0114e58",
"async-wait-until": "^2.0.30",
"dayjs": "^1.11.18",
"eris": "^0.18.0",
"lodash": "^4.17.21",
"node-telegram-bot-api": "0.66.0",
"opusscript": "^0.1.1",
Expand Down
21 changes: 21 additions & 0 deletions patches/@[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
diff --git a/lib/voice/VoiceConnection.js b/lib/voice/VoiceConnection.js
index 66110cc89938dd8c380c922ff608b5c62fc142bf..360aa9f3ce8b8b8d473e78cdb49f7dda8d56c6d5 100644
--- a/lib/voice/VoiceConnection.js
+++ b/lib/voice/VoiceConnection.js
@@ -593,8 +593,15 @@ class VoiceConnection extends EventEmitter {
this.emit("warn", `Voice WS close ${code}: ${reason}`);
if(this.connecting || this.ready) {
let reconnecting = true;
- if(code === 1000 || code === 4006 || code === 4021) {
+ if(code === 1000 || code === 4021) {
reconnecting = false;
+ } else if(code === 4006) {
+ if (this.channelID) {
+ reconnecting = true;
+ err = null;
+ } else {
+ reconnecting = false;
+ }
} else if(code === 4014 || code === 4022) {
if(this.channelID) {
data.endpoint = null;
18 changes: 0 additions & 18 deletions patches/eris.patch

This file was deleted.

Loading