InputBar: suggestions for /commands with hints

This commit is contained in:
Steef Hegeman 2021-06-10 20:59:24 +02:00
commit 52a91a8049
2 changed files with 153 additions and 10 deletions

View file

@ -16,6 +16,76 @@
"type": "text",
"placeholders": {}
},
"commandHintSend" : "Send text",
"@commandHintSend": {
"type": "text",
"description": "Usage hint for the command /send"
},
"commandHintMe" : "Describe yourself",
"@commandHintMe": {
"type": "text",
"description": "Usage hint for the command /me"
},
"commandHintPlain" : "Send unformatted text",
"@commandHintPlain": {
"type": "text",
"description": "Usage hint for the command /plain"
},
"commandHintHtml" : "Send HTML-formatted text",
"@commandHintHtml": {
"type": "text",
"description": "Usage hint for the command /html"
},
"commandHintReact" : "Send reply as a reaction",
"@commandHintReact": {
"type": "text",
"description": "Usage hint for the command /react"
},
"commandHintJoin" : "Join the given room",
"@commandHintJoin": {
"type": "text",
"description": "Usage hint for the command /join"
},
"commandHintLeave" : "Leave this room",
"@commandHintLeave": {
"type": "text",
"description": "Usage hint for the command /leave"
},
"commandHintOp" : "Set the given user's power level (default: 50)",
"@commandHintOp": {
"type": "text",
"description": "Usage hint for the command /op"
},
"commandHintKick" : "Remove the given user from this room",
"@commandHintKick": {
"type": "text",
"description": "Usage hint for the command /kick"
},
"commandHintBan" : "Ban the given user from this room",
"@commandHintBan": {
"type": "text",
"description": "Usage hint for the command /ban"
},
"commandHintUnBan" : "Unban the given user from this room",
"@commandHintUnBan": {
"type": "text",
"description": "Usage hint for the command /unban"
},
"commandHintInvite" : "Invite the given user to this room",
"@commandHintInvite": {
"type": "text",
"description": "Usage hint for the command /invite"
},
"commandHintMyRoomNick" : "Set your display name for this room",
"@commandHintMyRoomNick": {
"type": "text",
"description": "Usage hint for the command /myroomnick"
},
"commandHintMyRoomAvatar" : "Set your picture for this room (by mxc-uri)",
"@commandHintMyRoomAvatar": {
"type": "text",
"description": "Usage hint for the command /myroomavatar"
},
"editRoomAliases": "Edit room aliases",
"@editRoomAliases": {
"type": "text",