JoshMerlino / namemc

The unofficial Node JS API for looking up Minecraft users on Name MC
https://www.npmjs.com/package/namemc
MIT License
13 stars 5 forks source link

The namemc module does not work #42

Closed flashprivate closed 3 years ago

flashprivate commented 3 years ago

Describe the Bug 🐜 When I call the namemc module I am told that the module is not found and therefore I cannot use it

To Reproduce

`
const { lookupName } = require("namemc");

module.exports.run = async (client, message, args) => {
  lookupName("Flash_").then(function(users) {

    // Log each user to console
    users.map(function(user) {
      console.log(user);
    });

  });
};

module.exports.help = {
  name: "namemc",
  aliases: [''],
  category: 'information',
  description: "",
  cooldown: 5,
  usage: '',
  args: false
};

`

Call Stack Not sure if that's just due to my own piss-poor code writing or if it's something to do with the library, though.

Expected Behavior Be able to retrieve a user's information

Screenshots unknown

JoshMerlino commented 3 years ago

Should be fixed in v1.8.8, if not reopen