Commit e2b68c4
authored
feat!: Completely redo gateway process. (#1022)
* feat: Implement barebones GW ratelimiter, implement resume url usage.
This also refactors some attributes to utilise the ratelimiter and more importantly, the heartbeat loop.
(It still works the same!)
* feat: Refactor variable switching, optimise seq definitions, written primitive restart command.
* feat!: Cache websocket url, completely redo WS client process/instantiation and client login process, implement ratelimiter to GW process
* docs, chore: Remove unused code/imports/log prints, optimise docs/slots
* docs, chore: Remove/refactor unused comments, document and typehint ratelimiter object
* docs: Fix misprint on log debug division
* feat: Implement a _stop() client function.
* fix: Supress error code 4001.
* fix: Change to int value conversions for payload, readd afk attribute to ClientPresence object, revert suppress 4001 commit.
* docs, refactor: Tweak ratelimit functions to properties, redo ratelimit documentation and usage of logger exceptions
* docs: Tweak ratelimit delay description
* fix: Fix changing client presence to IDLE without providing activities attribute
* refactor!: Rename __task attribute to _task1 parent 8b4546f commit e2b68c4
File tree
5 files changed
+367
-124
lines changed- interactions
- api
- gateway
- models
- client
5 files changed
+367
-124
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
0 commit comments