#why is this causing an error? toWarn is defined as
1 messages · Page 1 of 1 (latest)
getUser returns user but x.kick() needs member
so how exactly would i get member from it?
lot of possibilities
interaction.guild.members.cache.get('id').kick() should be ok
but can i even get an id from .addUserOption
user.id ?
const toWarn = interaction.options.getUser('user') so toWarn.id i think
thanks it worked