Browse Source

[commands] Fixed extra "only" in dm_only docs

pull/2172/head
Dante Dam 6 years ago
parent
commit
92731bbf5f
  1. 2
      discord/ext/commands/core.py

2
discord/ext/commands/core.py

@ -1516,7 +1516,7 @@ def bot_has_permissions(**perms):
def dm_only():
"""A :func:`.check` that indicates this command must only be used in a
DM context only. Only private messages are allowed when
DM context. Only private messages are allowed when
using the command.
This check raises a special exception, :exc:`.PrivateMessageOnly`

Loading…
Cancel
Save