autocomplete: add missing commands to CommandProvider

This commit is contained in:
Aviral Dasgupta 2017-03-07 04:46:55 +05:30
parent 79f481f81e
commit b977b559de
No known key found for this signature in database
GPG key ID: 5FD1E9F4FFD3DA80

View file

@ -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',
}
];