isMyManager

From SmartBots Developers Docs
Bot PlaygroundCommands
Revision as of 12:25, 17 February 2025 by NealB (Talk | contribs) (Created page with "{{DISPLAYTITLE:{{SUBPAGENAME}}}} <onlyinclude>Returns if the avatar is a Trusted Manager for the bot.</onlyinclude> <syntaxhighlight lang="javascript"> const res = await Bot....")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Returns if the avatar is a Trusted Manager for the bot.

const res = await Bot.isMyManager("slnameOrUUID");
console.log("Is Bot Manager:", res);

Reference

This command accepts the following parameters:

Variable Required Description


Input:
slName or UUID yes The Avatar SL Name or UUID
Output:
return value boolean true if resident is the trusted manager of the bot


Examples

let isManager = Bot.isMyManager("Glaznah Gassner");
console.log(`Glaznah Gassner is Manager: ${isManager}`);