Browse Source

[commands] Add versionadded to dm_only

pull/2072/head
Rapptz 6 years ago
parent
commit
015404b01c
  1. 2
      discord/ext/commands/core.py

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

Loading…
Cancel
Save