createNotecard
Creates a notecard with the desired contents in the bot's inventory.
Bot.createNotecard(
"",
"My new notecard",
"This is a test notecard description",
"Hello!\nThis is a new line but also the contents of my new notecard!"
);Input
Variable | Required | Description |
|---|---|---|
| UUID of an inventory folder where the notecard will be created. If left blank, the notecard will be created in the Notecards folder within your bot's inventory. | |
| yes | Name of the notecard |
| Optional description for the notecard | |
| yes | The contents of the notecard |
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 |
| string | UUID of the notecard within your bot's inventory |