Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure maximum Discord-API mimickry #584

Open
bitfl0wer opened this issue Dec 24, 2024 · 2 comments
Open

Ensure maximum Discord-API mimickry #584

bitfl0wer opened this issue Dec 24, 2024 · 2 comments
Labels
Difficulty: Complex Priority: High Type: Enhancement Enhances an existing feature or behaviour.
Milestone

Comments

@bitfl0wer
Copy link
Member

chorus should, ideally, behave exactly like a Discord Client when interacting with Spacebar-Compatible APIs. This means that every WebSocket message, every API call, every field in every JSON sent should ideally 100% match what Discord are doing on their Client.

@bitfl0wer bitfl0wer added Priority: High Type: Enhancement Enhances an existing feature or behaviour. Difficulty: Complex labels Dec 24, 2024
@bitfl0wer bitfl0wer added this to the 1.0.0 milestone Dec 24, 2024
@kozabrada123
Copy link
Member

Honestly this feels like more of a guiding principle rather than a goal to achieve - complete mimicry is realistically impossible, but there are a few things we could do to be less identifiable

@kozabrada123
Copy link
Member

kozabrada123 commented Dec 28, 2024

to name a few:

  • we should provide a user agent for the http api (probably not following discord's guidelines)
  • Client properties have changed,
  • we should also send them as X-Super-Properties
  • potentially we can have these properties stored for each ChorusUser, which can be either left at safe defaults or set by library consumers as they please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Difficulty: Complex Priority: High Type: Enhancement Enhances an existing feature or behaviour.
Projects
None yet
Development

No branches or pull requests

2 participants