aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDante Dam <[email protected]>2019-05-19 20:04:42 -0700
committerDante Dam <[email protected]>2019-05-19 20:04:42 -0700
commit92731bbf5f24773c3b6a2a0488183896c1e0376e (patch)
treedaa80c58a3e54a64b0e4dbd11aad1e63a2bdacb0
parentAdd table showing what methods get invite attributes. (diff)
downloaddiscord.py-92731bbf5f24773c3b6a2a0488183896c1e0376e.tar.xz
discord.py-92731bbf5f24773c3b6a2a0488183896c1e0376e.zip
[commands] Fixed extra "only" in dm_only docs
-rw-r--r--discord/ext/commands/core.py2
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`