Make json conversion functions private

This commit is contained in:
Rapptz
2021-08-22 02:35:58 -04:00
parent ea2d972666
commit 4a72201617
5 changed files with 17 additions and 17 deletions

View File

@ -117,7 +117,7 @@ class WebhookAdapter:
if payload is not None:
headers['Content-Type'] = 'application/json'
to_send = utils.to_json(payload)
to_send = utils._to_json(payload)
if auth_token is not None:
headers['Authorization'] = f'Bot {auth_token}'