Difference between revisions of "Bot Playground/Commands/editNotecard"
From SmartBots Developers Docs
(Initial creation) |
(No difference)
|
Latest revision as of 13:23, 18 September 2025
Edits a notecard in the bot's inventory.
Bot.editNotecard(
"b572d860-c5cf-e023-a6b2-408f30266acc",
"Hello! This is the new contents of the notecard!"
);
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. | |
text | yes | The updated contents of the notecard. | |
Output: | |||
Function returns a Promise with the following data: | |||
success | bool | true if command completed successfully | |
error | string | error string if command has failed |