From c34eb5f6dd1a6413249713278358e95f7591681a Mon Sep 17 00:00:00 2001 From: Rapptz Date: Sun, 26 Jun 2016 14:18:47 -0400 Subject: [PATCH] Document that bot users can't use Client.accept_invite --- discord/client.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/discord/client.py b/discord/client.py index 2580fa12c..ebea8ec46 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)