diff options
| author | Dante Dam <[email protected]> | 2019-05-19 20:04:42 -0700 |
|---|---|---|
| committer | Dante Dam <[email protected]> | 2019-05-19 20:04:42 -0700 |
| commit | 92731bbf5f24773c3b6a2a0488183896c1e0376e (patch) | |
| tree | daa80c58a3e54a64b0e4dbd11aad1e63a2bdacb0 | |
| parent | Add table showing what methods get invite attributes. (diff) | |
| download | discord.py-92731bbf5f24773c3b6a2a0488183896c1e0376e.tar.xz discord.py-92731bbf5f24773c3b6a2a0488183896c1e0376e.zip | |
[commands] Fixed extra "only" in dm_only docs
| -rw-r--r-- | discord/ext/commands/core.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/ext/commands/core.py b/discord/ext/commands/core.py index 85ba2893..a4ab3dce 100644 --- a/discord/ext/commands/core.py +++ b/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` |