mirror of
				https://github.com/Rapptz/discord.py.git
				synced 2025-11-03 23:12:56 +00:00 
			
		
		
		
	[commands] Fix erroneous string in dm_only check
This commit is contained in:
		@@ -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)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user