Skip to content Skip to sidebar Skip to footer

Kickme Command, Cannot Read Tag

im trying to get a command added to my bot, i cant quite figure out why the property of 'tag' is undefined. ${user.tag} works just fine in my real kick command, it just doesnt want

Solution 1:

Looks like no one is mentioned in the message — user is undefined. Since you want to kick the user who sends the message, you can get it via message.author.

const user = message.author

Post a Comment for "Kickme Command, Cannot Read Tag"