mirror of
https://github.com/Rapptz/discord.py.git
synced 2026-11-20 13:29:03 +00:00
Deprecate non-bot methods
This commit is contained in:
1 parent
1cbc537734
commit
427e387a2f
8 files changed
+126
-5
No files matched your search
@@ -1974,6 +1974,7 @@ class Guild(Hashable):
|
||||
payload['max_age'] = 0
|
||||
return Invite(state=self._state, data=payload)
|
||||
|
||||
@utils.deprecated()
|
||||
def ack(self):
|
||||
"""|coro|
|
||||
|
||||
@@ -1981,6 +1982,8 @@ class Guild(Hashable):
|
||||
|
||||
The user must not be a bot user.
|
||||
|
||||
.. deprecated:: 1.7
|
||||
|
||||
Raises
|
||||
-------
|
||||
HTTPException
|
||||
|
||||
Reference in new issue
Block a user