function getTinyEmotesUserByName(instanceUrl, name) { return fetch(`${instanceUrl}/users.php?name=${name}`, { "headers": { "Accept": "application/json" } }).then((r) => r.json()) .catch(err => console.error('Fetch failed:', err)); }