diff options
| author | Rapptz <[email protected]> | 2019-04-11 00:55:32 -0400 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2019-04-11 00:55:32 -0400 |
| commit | ec1b3434a246fc281828c7282a451cb0fff35dad (patch) | |
| tree | d0d0bbb354fa0f9db1ceb9960dcc94c433fd8a95 | |
| parent | [commands] Added dm_only check (diff) | |
| download | discord.py-ec1b3434a246fc281828c7282a451cb0fff35dad.tar.xz discord.py-ec1b3434a246fc281828c7282a451cb0fff35dad.zip | |
[commands] Fix erroneous string in dm_only check
| -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 8eda0a87..3441bf60 100644 --- a/discord/ext/commands/core.py +++ b/discord/ext/commands/core.py @@ -1444,7 +1444,7 @@ def dm_only(): def predicate(ctx): if ctx.guild is not None: - raise PrivateMessageOnly('This command cannot be used in private messages.') + raise PrivateMessageOnly('This command can only be used in private messages.') return True return check(predicate) |