spacebarchat / server

Spacebar server - A reimplementation of the Discord.com backend, built with Typescript and love
https://spacebar.chat
GNU Affero General Public License v3.0
1.49k stars 250 forks source link

`Guild Ban` object is outdated #1096

Open bitfl0wer opened 1 year ago

bitfl0wer commented 1 year ago

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:

TheArcaneBrony commented 6 months ago

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 commented 6 months ago

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.