aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2017-07-08 21:33:04 -0400
committerRapptz <[email protected]>2017-07-08 21:33:04 -0400
commit6c67910fa9bc8663ee683d772209daeb4651f4ea (patch)
tree2c307855f64afc8b3c20420094ac83b3e48f6423
parentFirst pass at commands narrative documentation. (diff)
downloaddiscord.py-6c67910fa9bc8663ee683d772209daeb4651f4ea.tar.xz
discord.py-6c67910fa9bc8663ee683d772209daeb4651f4ea.zip
Remove Invite.accept.
-rw-r--r--discord/invite.py19
1 files changed, 0 insertions, 19 deletions
diff --git a/discord/invite.py b/discord/invite.py
index 3fa860c7..e40817a2 100644
--- a/discord/invite.py
+++ b/discord/invite.py
@@ -132,25 +132,6 @@ class Invite(Hashable):
return 'http://discord.gg/' + self.code
@asyncio.coroutine
- def accept(self):
- """|coro|
-
- Accepts the instant invite and adds you to the guild
- the invite is in.
-
- Raises
- -------
- HTTPException
- Accepting the invite failed.
- NotFound
- The invite is invalid or expired.
- Forbidden
- You are a bot user and cannot use this endpoint.
- """
-
- yield from self._state.http.accept_invite(self.code)
-
- @asyncio.coroutine
def delete(self, *, reason=None):
"""|coro|