[commands] Add versionadded to dm_only

This commit is contained in:
Rapptz 2019-04-12 03:20:06 -04:00
parent b6b55e820f
commit 015404b01c

View File

@ -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):