Mention that user perms may be empty sometimes.

This commit is contained in:
flash 2024-10-23 22:24:05 +00:00
parent 7d3cf5de62
commit 2f8024f87f

View file

@ -53,6 +53,8 @@ User permissions are a set of flags separated by either the form feed character
The reason there are two options is due to a past mixup that we now have to live with.
Which of the methods is used remains consistent per server however, so the result of a test can be cached.
Note that this string MAY be empty if sent by the bot user (`-1`).
| Type | Description |
|:------:| ----------- |
| `int` | Rank of the user. Used to determine what channels a user can access or what other users the user can moderate. |