readNotecard
From SmartBots Developers Docs
Jump to: navigation, search
Reads a notecard in the bot's inventory.
Bot.readNotecard("b572d860-c5cf-e023-a6b2-408f30266acc");
Reference
This command accepts the following parameters:
Variable | Required | Description
| |
---|---|---|---|
Input: | |||
uuid | yes | The inventory UUID of the item. Use the Personal Bot Control Panel to get this UUID. | |
Output: | |||
Function returns a Promise with the following data: | |||
success | bool | true if command completed successfully | |
error | string | error string if command has failed | |
text | string | The contents of the notecard. |
- readNotecard