I'm making a kick command and I would like the bot private message the user with a message saying they were kicked, the reason why they were kicked and an invite back to the server however whenever it tries to DM either my alt or my friend it doesn't allow for it to happen. I've checked my settings and my alt and friend don't have the bot block, we allow public DMs, No dm scanning and allow for a private message on both the servers the bot is in
//DM User saying they was kicked with an invite
let kUserID = kUser.id
let invite = await message.channel.createInvite({
maxAge: 86400,
maxUses: 1
})
kUser.send(`You was kicked from **${message.guild.name}**, for the reason **${kReason} you can rejoin with this link -> ${invite} `)