Previous code makes payload being a boolean which result in this error, when sending a requests
discord.errors.HTTPException: 400 Bad Request (error code: 50035): Invalid Form Body
In _errors: [{'code': 'DICT_TYPE_CONVERT', 'message': 'Only dictionaries may be used in a DictType'}]
General Info
[x] If code changes were made then they have been tested.
[x] This PR fixes an issue (please put issue # in summary).
Summary
Previous code makes payload being a boolean which result in this error, when sending a requests discord.errors.HTTPException: 400 Bad Request (error code: 50035): Invalid Form Body In _errors: [{'code': 'DICT_TYPE_CONVERT', 'message': 'Only dictionaries may be used in a DictType'}]
General Info