So I’m working on a discord bot for my roblox group, and I need some help with using this.
This is how I’m using it:
if (!args[0]) return message.channel.send("Missing arguments `0`, argument required: <Username>")
let UserId = await roblox.getIdFromUsername(`${args[0]}`).catch((err) => {
return message.channel.send("That user doesn't exist.");
})
const data = await roblox.getRankNameInGroup(8677181,UserId)
And the error I get is
UnhandledPromiseRejectionWarning: TypeError: bodyObject.filter is not a function
So I’m guessing it’s an error with noblox.js?
If it is, is there an alternative method I could use?