mirror of
				https://github.com/Rapptz/discord.py.git
				synced 2025-10-25 10:32:59 +00:00 
			
		
		
		
	Fix another logging error
This commit is contained in:
		| @@ -406,7 +406,7 @@ class Client(object): | |||||||
|         r = requests.post('{}/{}/channels'.format(endpoints.USERS, self.user.id), json=payload, headers=self.headers) |         r = requests.post('{}/{}/channels'.format(endpoints.USERS, self.user.id), json=payload, headers=self.headers) | ||||||
|         if r.status_code == 200: |         if r.status_code == 200: | ||||||
|             data = r.json() |             data = r.json() | ||||||
|             log.debug(request_success_log.format(name='start_private_message', response=response, json=payload, data=data)) |             log.debug(request_success_log.format(name='start_private_message', response=r, json=payload, data=data)) | ||||||
|             self.private_channels.append(PrivateChannel(id=data['id'], user=user)) |             self.private_channels.append(PrivateChannel(id=data['id'], user=user)) | ||||||
|         else: |         else: | ||||||
|             log.error(request_logging_format.format(name='start_private_message', response=r)) |             log.error(request_logging_format.format(name='start_private_message', response=r)) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user