Aller au contenu principal

Snippets

Snippets are reusable dice that are not tied to any character or specific model. They can be created and used by users to simplify frequent dice rolls, without needing to configure a model.

Creating snippets (/user_config snippets create)

Usage

/user_config snippets create [name] [dice]

  • name: Name of the snippet
  • dice: Dice to be rolled (e.g. 1d20+5)
important

Stats are not supported in snippets, because they are not linked to a character.

If the snippet already exists, its dice value will be updated.

create_snippet

Deletion (/user_config snippets delete)

Usage

/user_config snippets delete [*name]

  • *name: Name of the snippet to delete

Allows you to delete an existing snippet from the list.

delete_snippet

Listing snippets (/user_config snippets list)

Usage

/user_config snippets list

Displays the list of existing snippets for the user.

list_snippet

Exporting snippets (/user_config snippets export)

Usage

/user_config snippets export

Allows you to export all user snippets in JSON format, for backup or sharing elsewhere.

export_snippet

Importing snippets (/user_config snippets import)

Usage

/user_config snippets import [file]

  • file: JSON data of snippets to import

Allows you to import snippets from a JSON file, enabling users to easily transfer or share their snippets across different servers or accounts. import_cmd import_snippet