mirror of https://github.com/vector-im/riot-web
autocomplete: add missing commands to CommandProvider
parent
79f481f81e
commit
b977b559de
|
@ -9,11 +9,21 @@ const COMMANDS = [
|
|||
args: '<message>',
|
||||
description: 'Displays action',
|
||||
},
|
||||
{
|
||||
command: '/part',
|
||||
args: '[#alias:domain]',
|
||||
description: 'Leave room',
|
||||
},
|
||||
{
|
||||
command: '/ban',
|
||||
args: '<user-id> [reason]',
|
||||
description: 'Bans user with given id',
|
||||
},
|
||||
{
|
||||
command: '/unban',
|
||||
args: '<user-id>',
|
||||
description: 'Unbans user with given id',
|
||||
},
|
||||
{
|
||||
command: '/deop',
|
||||
args: '<user-id>',
|
||||
|
@ -43,6 +53,11 @@ const COMMANDS = [
|
|||
command: '/ddg',
|
||||
args: '<query>',
|
||||
description: 'Searches DuckDuckGo for results',
|
||||
},
|
||||
{
|
||||
command: '/op',
|
||||
args: '<userId> [<power level>]',
|
||||
description: 'Define the power level of a user',
|
||||
}
|
||||
];
|
||||
|
||||
|
|
Loading…
Reference in New Issue