I trying to register my commands but i get this error: BASE_TYPE_REQUIRED
axios.post(`https://discord.com/api/v10/applications/${client.user.id}/commands`, { body: client.slashcommandData }, {
headers: {
'Authorization': `Bot ${config.token}`,
'Content-Type': 'application/json'
}
}).then(res => {
console.log(res)
}).catch(err => {
console.log(err.response.data.errors)
console.log(err.response.data.errors.name)
})