Mathium05
Mathium05
Group channel on creation sends the current user in recipients in the event that creates them, this should not be the case and it should only send the other people...
The server sends an object of type `{id:string}[]` instead of `string[]`. https://docs.discord.food/resources/message
https://github.com/spacebarchat/server/blob/dc007c006b1438d7387041c15831782f03857761/src/api/routes/channels/#channel_id/messages/#message_id/index.ts#L116 https://github.com/spacebarchat/server/blob/dc007c006b1438d7387041c15831782f03857761/src/api/routes/channels/%23channel_id/messages/index.ts#L418 You can see the correct implementation in example I've provided, the roles are not sent correctly, instead of sending role ids, it currently sends the whole role object.
```ts function deleteAccount(token:string, api:string){ const password = prompt("Password for account to be deleted"); fetch(api+"/users/@me/delete/", { headers: { authorization:token }, body:JSON.stringify({password}), method:"POST" }); } ``` add a button