offerFriendship
Offers friendship to a resident.
Bot.offerFriendship(avatar, message);Input
Variable | Required | Description |
|---|---|---|
| yes | The UUID of the resident. |
| optional | Optional message to send with the friendship offer. |
Output
Function returns a Promise with the following data:
Variable | Type | Description |
|---|---|---|
| bool | True if command completed successfully |
| string | Error string if command has failed |