mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-25 10:32:59 +00:00
Document that bot users can't use Client.accept_invite
This commit is contained in:
@@ -2118,6 +2118,8 @@ class Client:
|
|||||||
Accepting the invite failed.
|
Accepting the invite failed.
|
||||||
NotFound
|
NotFound
|
||||||
The invite is invalid or expired.
|
The invite is invalid or expired.
|
||||||
|
Forbidden
|
||||||
|
You are a bot user and cannot use this endpoint.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
invite_id = self._resolve_invite(invite)
|
invite_id = self._resolve_invite(invite)
|
||||||
|
|||||||
Reference in New Issue
Block a user