WARN: the code above will use ALL intents avaliable
It may be you don't have enabled the permissions.checkout https://discord.com/developers/applications/
Enable The member's intent permission
The code worked for me after I entered the correct arguments:
await message.channel.send(response['choices'][0]['text'])