[commands] Fix erroneous string in dm_only check
This commit is contained in:
parent
aabbd5a446
commit
ec1b3434a2
@ -1444,7 +1444,7 @@ def dm_only():
|
|||||||
|
|
||||||
def predicate(ctx):
|
def predicate(ctx):
|
||||||
if ctx.guild is not None:
|
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 True
|
||||||
|
|
||||||
return check(predicate)
|
return check(predicate)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user