Aller au contenu principal

Edition

Edit user data

Each tree commands will open a modal to edit the corresponding data.

If you are using a old version of the bot, you will have to use the commands.

To add the new button.

Editing the avatar image

edit image

Attention

Images stored on Discord cannot be used as their links change regularly. It is therefore mandatory to use external links, for example, by using imgur. See here for more information.

Command

/edit avatar [url] (@user) (*character)

  • url: URL of the image to use.
  • @user: User to edit if different from the one using the command.
  • *character: Name of the character to edit. If not specified, the default character will be edited.

By default, the commands will change the image of the person that used the commands. Only moderator can change the image of another user.

Rename a character

rename

As the command, it doesn't allow duplicate character name. Each character must have different name, or error will be throw.

Command

/edit rename [new_name] (@user) (*character)

  • new_name: New name of the character.
  • @user: User to edit if different from the one using the command.
  • *character: Name of the character to edit. If not specified, the default character will be edited.

Move to another user

move

It will move the character to another user, deleting the one on the old user. An error will be throw in case of duplicate, and action will be undone.

Command

/edit user [@new_user] (@old_user) (*character)

  • @new_user: User to move the character to.
  • @old_user: User to move the character from.
  • *character: Name of the character to move. If not specified, the default character will be moved.

Editing Statistics

edit stats

The modal will be pre-filled with a list as follows:

- NAME: value
- NAME: value
- NAME: COMBINATION
Attention

It is imperative to keep this list as is so that the bot can correctly read the statistics.

You can remove values by using X or leaving it blank, like this:

- NAME: X

If statistics have been removed from the template, they will be automatically removed from the list. Additionally, they will be automatically added back when the template add new statistics, with a default value of "0".

It is possible to modify combinations.

Finally, values will not be checked against the total initially recorded in the template. Game masters must therefore verify the values during editing.

remarque

If statistics are edited and logs are enabled, a modification message will be sent to the channel configured in the logs.

Editing Dice

Just like with statistics, the modal will be pre-filled with a list as follows:

- NAME: dice

Just like during recording, dice will be evaluated to verify their validity. Additionally, you can add as many dice as you like!

As with statistics, it is essential to adhere to the list and its syntax. You can delete fields by replacing the value with "X" or "0".

edit dice