mirror of
				https://github.com/Rapptz/discord.py.git
				synced 2025-10-24 18:13:00 +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): |     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) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user