Check if no data returned node-fetch discord.js
So I’m trying to make a command for my bot that converts Minecraft usernames into uuid
, the mojang API returns NO data when the username is not recognized, is there a way to check if no data was returned without my bot crashing?