add whoami to status

This commit is contained in:
zkldi
2021-06-28 16:51:45 +01:00
parent f00be31b93
commit 6f7eaa4068
+1
View File
@@ -24,6 +24,7 @@ It's a good way of sanity checking whether your code works.
| Property | Type | Description |
| :: | :: | :: |
| `serverTime` | integer | The current time of the server in Unix Milliseconds. |
| `whoami` | integer \| null | The userID you are authenticated as. If you are not authenticated, this is null. |
| `version` | string | The current version of Tachi-Server running. |
| `permissions` | Array<string> | The permissions this request had. |
| `echo` (Conditional) | string | If an `echo` parameter was provided, this is that exact parameter. |