From ec1b3434a246fc281828c7282a451cb0fff35dad Mon Sep 17 00:00:00 2001 From: Rapptz Date: Thu, 11 Apr 2019 00:55:32 -0400 Subject: [PATCH] [commands] Fix erroneous string in dm_only check --- discord/ext/commands/core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/ext/commands/core.py b/discord/ext/commands/core.py index 8eda0a874..3441bf60c 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)