Dev/post refactor fixes (#927)
* Re-introduce outgoing message logging

Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>

* Websocket dumping

* Sentry user count on API

* Generate session ID upon opening websocket, fix gateway dumps

* Async file io in src/gateway/events/Message.ts

Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>

* Async file io in src/util/util/Config.ts

Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>

* Make pre-commit hook executable

Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>

* Fixed sync file io in src/util/util/Config.ts

Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>

* Fixed missing await call in src/util/util/AutoUpdate.ts

Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>

* Add comment to src/gateway/events/Connection.ts

Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>

* Clean up gateway dumping code

Signed-off-by: TheArcaneBrony <myrainbowdash949@gmail.com>
Co-authored-by: Madeline <46743919+MaddyUnderStars@users.noreply.github.com>
1 parent da9ce34 commit 6122374e4d97b2db040e8a98e4187dd0a0bccf9e
@TheArcaneBrony TheArcaneBrony authored on 12 Jan 2023
GitHub committed on 12 Jan 2023
Showing 9 changed files
View
.gitignore
View
.husky/pre-commit 100644 → 100755
File mode changed
View
src/api/middlewares/Authentication.ts
View
src/gateway/events/Connection.ts
View
src/gateway/events/Message.ts
View
src/gateway/opcodes/Identify.ts
View
src/gateway/util/Send.ts
View
src/util/util/AutoUpdate.ts
View
src/util/util/Config.ts