TeamHarTex / HarTex

Discord server management, reimagined.
GNU Affero General Public License v3.0
43 stars 9 forks source link

Tracking Issue for `twilight-gateway` Migration #173

Closed HTGAzureX1212 closed 1 year ago

HTGAzureX1212 commented 2 years ago

As of https://github.com/twilight-rs/twilight/pull/1809, the twilight-gateway crate is completely revamped.

This issue is for raising awareness of this and track progress over rewriting the gateway process to conform to the revamped twilight-gateway.

HTGAzureX1212 commented 2 years ago

This is currently blocked on ShardEventStream not implementing the Send trait.

HTGAzureX1212 commented 2 years ago

Part I: https://github.com/TeamHarTex/HarTex/pull/208

HTGAzureX1212 commented 2 years ago

Part II: #209

HTGAzureX1212 commented 2 years ago

A current bug of a shard receiving INVALID_SESSION upon connecting to the gateway will be fixed by https://github.com/twilight-rs/twilight/pull/1932 on twilight-rs/twilight. Temporarily bringing in the branch of the PR (which is synced to next) for now until that PR is merged: #258

Kayxue commented 2 years ago

🤔

HTGAzureX1212 commented 2 years ago

Part III: #264

HTGAzureX1212 commented 2 years ago

Implementation of storing sessions on Ctrl-C is still blocked right now.

HTGAzureX1212 commented 1 year ago

Closing as already completed most of the things.