[commands] Fix erroneous string in dm_only check

This commit is contained in:
Rapptz 2019-04-11 00:55:32 -04:00
parent aabbd5a446
commit ec1b3434a2

View File

@ -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)