mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-22 08:44:10 +00:00
[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):
|
||||
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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user