# Commands

Commands are being sent to the bot by calling the javascript method of `*Bot*`.

```javascript
Bot.im("Glaznah Gassner", "Hello there!");
```

| **Access Rights** |
|---------------|
| [`isMyOwner`](/doc/ismyowner-KSAVD9NA2f) | Returns if the bot is owned by the avatar. |
| [`isMyManager`](/doc/ismymanager-hQWaM8ilj5) | Returns if the avatar is a Trusted Manager for the bot. |
| [`isOnline`](/doc/isonline-Sz0i1BPbn1) | Returns true/false if the bot is online. |
| **Avatar Info** |
| [`avatarInfo`](/doc/avatarinfo-p9ronMIpDX) | Returns the Second Life avatar details. |
| [`checkScriptedAgent`](/doc/checkscriptedagent-VxCU9IVlHU) | Returns if the resident is a scripted agent known by SmartBots. Includes all SmartBots bots and other residents our system considers bots or scripted agents. |
| **Status**    |
| [`status`](/doc/status-Yhbscc3WSv) | Returns the online status of the bot. |
| [`statusExt`](/doc/statusext-h2xyleGZJQ) | Returns the online status of the bot (with extended information). |
| [`login`](/doc/login-Dmhs7w9vIU) | Initiates bot login sequence. |
| [`logout`](/doc/logout-XyrcDT83zP) | Initiates bot logout sequence. |
| **Messaging** |
| [`say`](https://s) | Says message over a specific chat channel. |
| [`im`](/doc/im-0QlUgh1c7H) | Sends Instant Message to a specific avatar. |
| [`replyDialog`](/doc/replydialog-rmnJWpwizn) | Virtually "presses" a pop-up dialog button displayed by an in-world script. |
| [`startTyping`](/doc/starttyping-r1GDn8gV7B) | Sends "typing" in chat to a specific user. |
| [`stopTyping`](/doc/stoptyping-8x9B1NyKyx) | Stops sending "typing" in chat to a specific user. |
| **Friendship** |
| [`acceptFriendshipOffer`](/doc/acceptfriendshipoffer-bBh0zJdXZx) | Accept (or reject) a friendship offer sent by another avatar. |
| [`friends`](/doc/friends-aRlmlprmql) 🆕 | Lists the bot’s friends. |
| [`offerFriendship`](https://o) | Offers friendship to a resident. |
| **Group Control** |
| [`acceptGroupOffer`](/doc/acceptgroupoffer-Jay4KCbXPA) | Accept (or reject) a group invitation sent by another avatar. |
| [`activateGroup`](/doc/activategroup-ByZY3i1DZN) | Activates a specific group (e.g., to get build rights on a parcel). |
| [`groupInfo`](/doc/groupinfo-MdEc1eDbDU) | Returns the Second Life group details. |
| [`joinGroup`](/doc/joingroup-pSyX9f9gKs) | Tries to join a group by UUID. |
| [`leaveGroup`](/doc/leavegroup-UlrHypSUMw) | Commands bot to leave the group specified by a UUID. |
| [`listGroups`](/doc/listgroups-O2H2AOGKut) | Returns a list of the Second Life groups the bot is a member of. |
| [`revokeGroupRole`](/doc/revokegrouprole-ouyD3L9Pfe) | Removes a group member from a specific role. |
| [`sendGroupIM`](/doc/sendgroupim-wmXMlxEfnU) | Sends a message to group chat. |
| [`sendNotice`](https://s) | Sends a notice to the group. |
| [`setGroupRole`](/doc/setgrouprole-dSjHuXE8Zu) | Puts a member of a group in a specific role. |
| **Group Members Control** |
| [`ejectGroupMember`](/doc/ejectgroupmember-YahhLCGgPj) | Ejects residents from the group. |
| [`inviteGroup`](/doc/invitegroup-OY0sAMdVBb) | Sends a group invitation to a specific resident. |
| **Inventory** |
| [`acceptInventoryOffer`](/doc/acceptinventoryoffer-623tWdSDXP) | Accept (or reject) an inventory offer sent by another avatar or in-world script. |
| [`listInventory`](/doc/listinventory-7dfhbrpERo) | Returns an inventory list of the given folder. |
| [`giveInventory`](/doc/giveinventory-jYGX2l83ss) | Commands bot to send an inventory item or folder to a specific avatar. |
| [`deleteInventory`](/doc/deleteinventory-UXP3aBJsWt) | Commands bot to delete an inventory item. |
| [`createNotecard`](/doc/createnotecard-hJXwiHXdDT) | Creates a notecard with the desired contents in the bot's inventory. |
| [`editNotecard`](/doc/editnotecard-rhleNwUZV0) | Edits a notecard in the bot's inventory. |
| [`readNotecard`](/doc/readnotecard-2n8IbTifGX) | Reads a notecard in the bot's inventory. |
| **Appearance** |
| [`takeoff`](/doc/takeoff-x6ojO9HOqj) | Removes a clothing item, body part, or attachment (opposite of the wear command). |
| [`wear`](/doc/wear-wSWkAPV6F1) | Commands bot to wear a clothing item, body part, or attach an object. |
| **Money**     |
| [`getBalance`](/doc/getbalance-OiJebjSXPh) | Retrieves the current bot's L$ balance. |
| [`giveMoney`](/doc/givemoney-30PVNbkr85) | Commands bot to send money (L$) to a specific avatar. |
| **Movement**  |
| [`fly`](/doc/fly-Z28uUZsMvR) | Starts or stops flying. |
| [`getLocation`](/doc/getlocation-iJ32oDRyt4) | Returns current location of the bot. |
| [`move`](/doc/move-saUAEaJ0tQ) | Starts or stops bot movement and rotations. |
| [`sit`](/doc/sit-MqRaeavTct) | Commands bot to sit on a specific prim. Allows saving this object as a permanent location. |
| [`teleport`](/doc/teleport-YCS592dP5d) | Teleports bot to a specific location. |
| [`walkTo`](https://w) | Walks to a position within the current region. |
| [`turnTo`](/doc/turnto-bIsXae9Irr) | Turns bot towards specified heading. |
| **Other Avatars Interaction** |
| [`key2name`](/doc/key2name-bXNUuueGdP) | Returns avatar Second Life name by UUID. |
| [`name2key`](/doc/name2key-gnKo8wtrM4) | Returns the UUID of a resident by name. |
| [`offerTeleport`](/doc/offerteleport-MqeINv9Cdp) | Sends a teleport offer to a resident. |
| [`acceptTeleportOffer`](/doc/acceptteleportoffer-UFIHxTv6tK) | Accept (or reject) a teleport offer sent by another avatar. |
| **World Interaction** |
| [`scanNearbyAvatars`](/doc/scannearbyavatars-3oex526Xku) | Scans the current region for other avatars. |
| [`trackAvatars`](/doc/trackavatars-mNVmvYJgZA) | Starts tracking avatars and reports their position in [`avatar_tracker_update`](/doc/avatar_tracker_update-YtWcRMsf5I) event. |
| [`takeInworldPrim`](/doc/takeinworldprim-DDrUfqg7vj) | Takes (de-rezzes) or copies an in-world prim into the bot's inventory. *Not available for QubicBot yet?* |
| [`touchAttachment`](/doc/touchattachment-YUVuutU6RB) | Touches an attachment of the bot (HUD or wearable object). |
| [`touchPrim`](/doc/touchprim-rAOfEhuTS8) | Touches an in-world object (prim) by its UUID. |
| **Region (Sim) Control** |
| [`regionRestart`](/doc/regionrestart-KhtlstRh5K) | Requests to restart the current region of the bot. |
| [`regionRestartCancel`](/doc/regionrestartcancel-9Qd80ApgD9) | Cancels a pending restart of the current region. |

---

**Documents**

- [acceptFriendshipOffer](https://sb-docs-dev.getoutline.com/s/dev/doc/acceptfriendshipoffer-bBh0zJdXZx)
- [acceptGroupOffer](https://sb-docs-dev.getoutline.com/s/dev/doc/acceptgroupoffer-Jay4KCbXPA)
- [acceptInventoryOffer](https://sb-docs-dev.getoutline.com/s/dev/doc/acceptinventoryoffer-623tWdSDXP)
- [acceptTeleportOffer](https://sb-docs-dev.getoutline.com/s/dev/doc/acceptteleportoffer-UFIHxTv6tK)
- [activateGroup](https://sb-docs-dev.getoutline.com/s/dev/doc/activategroup-ByZY3i1DZN)
- [avatarInfo](https://sb-docs-dev.getoutline.com/s/dev/doc/avatarinfo-p9ronMIpDX)
- [checkScriptedAgent](https://sb-docs-dev.getoutline.com/s/dev/doc/checkscriptedagent-VxCU9IVlHU)
- [createNotecard](https://sb-docs-dev.getoutline.com/s/dev/doc/createnotecard-hJXwiHXdDT)
- [deleteInventory](https://sb-docs-dev.getoutline.com/s/dev/doc/deleteinventory-UXP3aBJsWt)
- [editNotecard](https://sb-docs-dev.getoutline.com/s/dev/doc/editnotecard-rhleNwUZV0)
- [ejectGroupMember](https://sb-docs-dev.getoutline.com/s/dev/doc/ejectgroupmember-YahhLCGgPj)
- [fly](https://sb-docs-dev.getoutline.com/s/dev/doc/fly-Z28uUZsMvR)
- [friends](https://sb-docs-dev.getoutline.com/s/dev/doc/friends-aRlmlprmql)
- [getBalance](https://sb-docs-dev.getoutline.com/s/dev/doc/getbalance-OiJebjSXPh)
- [getLocation](https://sb-docs-dev.getoutline.com/s/dev/doc/getlocation-iJ32oDRyt4)
- [giveInventory](https://sb-docs-dev.getoutline.com/s/dev/doc/giveinventory-jYGX2l83ss)
- [giveMoney](https://sb-docs-dev.getoutline.com/s/dev/doc/givemoney-30PVNbkr85)
- [groupInfo](https://sb-docs-dev.getoutline.com/s/dev/doc/groupinfo-MdEc1eDbDU)
- [im](https://sb-docs-dev.getoutline.com/s/dev/doc/im-0QlUgh1c7H)
- [inviteGroup](https://sb-docs-dev.getoutline.com/s/dev/doc/invitegroup-OY0sAMdVBb)
- [isMyManager](https://sb-docs-dev.getoutline.com/s/dev/doc/ismymanager-hQWaM8ilj5)
- [isMyOwner](https://sb-docs-dev.getoutline.com/s/dev/doc/ismyowner-KSAVD9NA2f)
- [isOnline](https://sb-docs-dev.getoutline.com/s/dev/doc/isonline-Sz0i1BPbn1)
- [joinGroup](https://sb-docs-dev.getoutline.com/s/dev/doc/joingroup-pSyX9f9gKs)
- [key2name](https://sb-docs-dev.getoutline.com/s/dev/doc/key2name-bXNUuueGdP)
- [leaveGroup](https://sb-docs-dev.getoutline.com/s/dev/doc/leavegroup-UlrHypSUMw)
- [listGroups](https://sb-docs-dev.getoutline.com/s/dev/doc/listgroups-O2H2AOGKut)
- [listInventory](https://sb-docs-dev.getoutline.com/s/dev/doc/listinventory-7dfhbrpERo)
- [login](https://sb-docs-dev.getoutline.com/s/dev/doc/login-Dmhs7w9vIU)
- [logout](https://sb-docs-dev.getoutline.com/s/dev/doc/logout-XyrcDT83zP)
- [move](https://sb-docs-dev.getoutline.com/s/dev/doc/move-saUAEaJ0tQ)
- [name2key](https://sb-docs-dev.getoutline.com/s/dev/doc/name2key-gnKo8wtrM4)
- [offerFriendship](https://sb-docs-dev.getoutline.com/s/dev/doc/offerfriendship-a16C5gGQWr)
- [offerTeleport](https://sb-docs-dev.getoutline.com/s/dev/doc/offerteleport-MqeINv9Cdp)
- [readNotecard](https://sb-docs-dev.getoutline.com/s/dev/doc/readnotecard-2n8IbTifGX)
- [regionRestart](https://sb-docs-dev.getoutline.com/s/dev/doc/regionrestart-KhtlstRh5K)
- [regionRestartCancel](https://sb-docs-dev.getoutline.com/s/dev/doc/regionrestartcancel-9Qd80ApgD9)
- [replyDialog](https://sb-docs-dev.getoutline.com/s/dev/doc/replydialog-rmnJWpwizn)
- [revokeGroupRole](https://sb-docs-dev.getoutline.com/s/dev/doc/revokegrouprole-ouyD3L9Pfe)
- [say](https://sb-docs-dev.getoutline.com/s/dev/doc/say-98qcGDYRYO)
- [scanNearbyAvatars](https://sb-docs-dev.getoutline.com/s/dev/doc/scannearbyavatars-3oex526Xku)
- [sendGroupIM](https://sb-docs-dev.getoutline.com/s/dev/doc/sendgroupim-wmXMlxEfnU)
- [sendNotice](https://sb-docs-dev.getoutline.com/s/dev/doc/sendnotice-vxRvQkecPF)
- [setGroupRole](https://sb-docs-dev.getoutline.com/s/dev/doc/setgrouprole-dSjHuXE8Zu)
- [sit](https://sb-docs-dev.getoutline.com/s/dev/doc/sit-MqRaeavTct)
- [startTyping](https://sb-docs-dev.getoutline.com/s/dev/doc/starttyping-r1GDn8gV7B)
- [status](https://sb-docs-dev.getoutline.com/s/dev/doc/status-Yhbscc3WSv)
- [statusExt](https://sb-docs-dev.getoutline.com/s/dev/doc/statusext-h2xyleGZJQ)
- [stopTyping](https://sb-docs-dev.getoutline.com/s/dev/doc/stoptyping-8x9B1NyKyx)
- [takeInworldPrim](https://sb-docs-dev.getoutline.com/s/dev/doc/takeinworldprim-DDrUfqg7vj)
- [takeoff](https://sb-docs-dev.getoutline.com/s/dev/doc/takeoff-x6ojO9HOqj)
- [teleport](https://sb-docs-dev.getoutline.com/s/dev/doc/teleport-YCS592dP5d)
- [touchAttachment](https://sb-docs-dev.getoutline.com/s/dev/doc/touchattachment-YUVuutU6RB)
- [touchPrim](https://sb-docs-dev.getoutline.com/s/dev/doc/touchprim-rAOfEhuTS8)
- [trackAvatars](https://sb-docs-dev.getoutline.com/s/dev/doc/trackavatars-mNVmvYJgZA)
- [turnTo](https://sb-docs-dev.getoutline.com/s/dev/doc/turnto-bIsXae9Irr)
- [walkTo](https://sb-docs-dev.getoutline.com/s/dev/doc/walkto-tqXhqjVhVR)
- [wear](https://sb-docs-dev.getoutline.com/s/dev/doc/wear-wSWkAPV6F1)