mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-20 16:00:29 +00:00
Document that bot users can't use Client.accept_invite
This commit is contained in:
parent
6556392a9c
commit
c34eb5f6dd
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user