mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-07 20:28:38 +00:00
[commands] Add versionadded to dm_only
This commit is contained in:
parent
b6b55e820f
commit
015404b01c
@ -1440,6 +1440,8 @@ def dm_only():
|
|||||||
|
|
||||||
This check raises a special exception, :exc:`.PrivateMessageOnly`
|
This check raises a special exception, :exc:`.PrivateMessageOnly`
|
||||||
that is inherited from :exc:`.CheckFailure`.
|
that is inherited from :exc:`.CheckFailure`.
|
||||||
|
|
||||||
|
.. versionadded:: 1.1.0
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def predicate(ctx):
|
def predicate(ctx):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user