how do I handle the error that happens whenever you try to use .prepare(#).get() and the query does not exist?
let businessType = DB.prepare(`SELECT businessType from 'Profiles' WHERE userId = '${author.id}'`).get().businessType;
so basically how do I stop crashes whenever "businessType" does not exist and rather than the script crashing I can just send a message like "User does not exist" or something.
Thanks in advance!