aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--discord/client.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/discord/client.py b/discord/client.py
index 2580fa12..ebea8ec4 100644
--- a/discord/client.py
+++ b/discord/client.py
@@ -2118,6 +2118,8 @@ class Client:
Accepting the invite failed.
NotFound
The invite is invalid or expired.
+ Forbidden
+ You are a bot user and cannot use this endpoint.
"""
invite_id = self._resolve_invite(invite)