TypeError: Cannot read property 'users' of undefined

I was trying to make a const member but it says "TypeError: Cannot read property ‘users’ of undefined"

module.exports = {
    name: 'welcome',
    description: 'welcome',
    execute(message, args, Discord) {

        const member = message.mentions.users.first();

        if(message.member.permissions.has('ADMINISTRATOR')){
            message.channel.send(
                new MessageEmbed()
                .setTitle('title')
                .setImage('imageurl')
                .setDescription('desc')
            )
        }else{
            return message.channel.send(`You don't have any permissions to do that!`)
        }
    }
}

158 thoughts on “TypeError: Cannot read property 'users' of undefined”

  1. Excellent weblog here! Additionally your website quite a bit up very fast!
    What host are you using? Can I get your associate link to your host?

    I desire my website loaded up as fast as yours lol

    Reply
  2. Very great post. I simply stumbled upon your weblog and wanted to mention that
    I have really loved surfing around your blog posts.
    In any case I’ll be subscribing for your feed and I am
    hoping you write once more soon!

    Reply
  3. Hi there! I’m at work browsing your blog from my new apple
    iphone! Just wanted to say I love reading your blog and look forward to all your posts!

    Carry on the excellent work!

    Reply
  4. Thanks on your marvelous posting! I truly enjoyed reading it, you happen to
    be a great author.I will make certain to bookmark your blog and
    will come back sometime soon. I want to encourage one to continue your great writing, have a nice evening!

    Reply
  5. Pingback: gay stoner dating
  6. Good post. I learn something new and challenging on blogs I stumbleupon on a daily basis.
    It will always be helpful to read through articles from other writers
    and practice something from other sites.

    Reply
  7. Thank you for any other informative web site. Where else may
    I get that type of info written in such an ideal method?
    I’ve a project that I’m simply now operating on, and I’ve been at the look out for such info.

    Reply
  8. I would like to acknowledge gratitude the shillelagh at the Greeley 16th St. z pack med exchange for the good-naturedness extended to me yesterday when I pick-up my RX, the clerk took the beat to simplify how to profit by it and answered my questions. Thank you again!

    Reply
  9. Pingback: otc tamoxifen
  10. Pingback: what is aralen
  11. Pingback: order molnupiravir
  12. Pingback: order clomid
  13. Pingback: baricitinib india
  14. Pingback: tizanidine 1 mg

Leave a Comment