From 2f8024f87fa2cfef157ecfeaf66b134fbb832a5f Mon Sep 17 00:00:00 2001 From: flash Date: Wed, 23 Oct 2024 22:24:05 +0000 Subject: [PATCH] Mention that user perms may be empty sometimes. --- Protocol.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Protocol.md b/Protocol.md index b48d581..196897b 100644 --- a/Protocol.md +++ b/Protocol.md @@ -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. | -- 2.25.1