Deprecate non-bot methods
This commit is contained in:
@ -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