aboutsummaryrefslogtreecommitdiff
path: root/discord/guild.py
diff options
context:
space:
mode:
authorNadir Chowdhury <[email protected]>2021-02-23 08:36:37 +0000
committerGitHub <[email protected]>2021-02-23 03:36:37 -0500
commit427e387a2f487cf27d4a7ed5b49cc4c4bcae58ed (patch)
treea19af8a9417958a732452c2cb31a2075f5e9ab97 /discord/guild.py
parent[commands] Allow relative paths when handling extensions (diff)
downloaddiscord.py-427e387a2f487cf27d4a7ed5b49cc4c4bcae58ed.tar.xz
discord.py-427e387a2f487cf27d4a7ed5b49cc4c4bcae58ed.zip
Deprecate non-bot methods
Diffstat (limited to 'discord/guild.py')
-rw-r--r--discord/guild.py3
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