aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2019-04-12 03:20:06 -0400
committerRapptz <[email protected]>2019-04-12 03:21:49 -0400
commit015404b01c00f6082b3b7a14046e26a3a291b905 (patch)
treecee76e2ee5d2982a46793b19a52bbb258c462b08
parentUpdate FAQ with some common tags (diff)
downloaddiscord.py-015404b01c00f6082b3b7a14046e26a3a291b905.tar.xz
discord.py-015404b01c00f6082b3b7a14046e26a3a291b905.zip
[commands] Add versionadded to dm_only
-rw-r--r--discord/ext/commands/core.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/discord/ext/commands/core.py b/discord/ext/commands/core.py
index 3441bf60..c5d4f291 100644
--- a/discord/ext/commands/core.py
+++ b/discord/ext/commands/core.py
@@ -1440,6 +1440,8 @@ def dm_only():
This check raises a special exception, :exc:`.PrivateMessageOnly`
that is inherited from :exc:`.CheckFailure`.
+
+ .. versionadded:: 1.1.0
"""
def predicate(ctx):