Support more actions in Messenger (and therefore format()) (#1242)
* Support more actions in Messenger (and therefore `format()`) * Add the new actions to docs * New `format()` docs fixes
This commit is contained in:
1 parent
8f265f4e52
commit
763abe68c9
2 files changed
+39
-57
No files matched your search
@@ -252,6 +252,8 @@ Decorators (listed as extra argument after the component they would affect):
|
||||
* `'^<format> <text>'` - hover over tooltip text, appearing when hovering with your mouse over the text below.
|
||||
* `'?<suggestion>` - command suggestion - a message that will be pasted to chat when text below it is clicked.
|
||||
* `'!<message>'` - a chat message that will be executed when the text below it is clicked.
|
||||
* `'@<url>'` - a URL that will be opened when the text below it is clicked.
|
||||
* `'&<text>'` - a text that will be copied to clipboard when the text below it is clicked.
|
||||
|
||||
Both suggestions and messages can contain a command, which will be executed as a player that clicks it.
|
||||
|
||||
|
||||
Reference in new issue
Block a user