diff options
| author | Nadir Chowdhury <[email protected]> | 2021-02-23 08:36:37 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-02-23 03:36:37 -0500 |
| commit | 427e387a2f487cf27d4a7ed5b49cc4c4bcae58ed (patch) | |
| tree | a19af8a9417958a732452c2cb31a2075f5e9ab97 /discord/guild.py | |
| parent | [commands] Allow relative paths when handling extensions (diff) | |
| download | discord.py-427e387a2f487cf27d4a7ed5b49cc4c4bcae58ed.tar.xz discord.py-427e387a2f487cf27d4a7ed5b49cc4c4bcae58ed.zip | |
Deprecate non-bot methods
Diffstat (limited to 'discord/guild.py')
| -rw-r--r-- | discord/guild.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/discord/guild.py b/discord/guild.py index cd4dde98..c51a4631 100644 --- a/discord/guild.py +++ b/discord/guild.py @@ -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 |