-
Notifications
You must be signed in to change notification settings - Fork 0
Pastas
You can create a pasta using /modpasta create, where the alias argument is used to reference it. In order to fill it with content, you must use the /modpasta update command.
You can display the raw JSON data of a pasta using /modpasta read.
You can update a pasta using /modpasta update, where path is the path to the object or value which you want to replace (separated using dots, e.g. embedData.author.name) and value is the new value (must be valid JSON). Not providing a value will delete the JSON key, and updating a non-existent key will automatically create it.
A pasta can contain the following data:
In order to create the embed object, visit https://leovoel.github.io/embed-visualizer/. Pastas must contain at least a content or an embedData property.
You can delete a pasta using /modpasta delete.
{ "alias": "", // alias used to view and manage the pasta (required) "content": "", // content of the message (required unless "embedData" is specified) "embedData": {}, // embed constructor (required, unless "content" is specified) "attachmentURLs": [""] // attachment URLs (optional) }