Deprecate non-bot methods

This commit is contained in:
Nadir Chowdhury
2021-02-23 08:36:37 +00:00
committed by GitHub
parent 1cbc537734
commit 427e387a2f
8 changed files with 126 additions and 5 deletions

View File

@ -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