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

Guild Ban object is outdated #1096

Open
bitfl0wer opened this issue Aug 26, 2023 · 2 comments
Open

Guild Ban object is outdated #1096

bitfl0wer opened this issue Aug 26, 2023 · 2 comments
Labels
Bug Something isn't working

Comments

@bitfl0wer
Copy link

Discord Docs show, that the Guild Ban object has changed severely from its current implementation in Spacebar.

As a refresher, the current Guild Ban looks sort of like this, at the moment:

  • id
  • user_id
  • guild_id
  • executor_id
  • ip? i guess
  • reason
@MaddyUnderStars MaddyUnderStars added the Bug Something isn't working label Aug 26, 2023
@TheArcaneBrony
Copy link
Member

For reference, the Discord Docs show these as the fields included:
reason string? the reason for the ban
user User the banned user

I feel like executor_id should be included as an API extension, in order to show who created the ban.

@DEVTomatoCake
Copy link
Member

This was fixed in #1120.
For now, the GET Ban endpoint returns user and reason only for compatibility, executor (or executor_id) is not returned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants