match: rest

merge-requests/3/head
Supositware 5 years ago
parent b0a7d9783b
commit 0aec68325e

@ -4,14 +4,14 @@ class StatusCommand extends Command {
constructor() { constructor() {
super('status', { super('status', {
aliases: ['status'], aliases: ['status'],
split: 'none',
category: 'owner', category: 'owner',
ownerOnly: 'true', ownerOnly: 'true',
args: [ args: [
{ {
id: 'status', id: 'status',
prompt: 'Wich status should i have?', prompt: 'Wich status should i have?',
type: 'string' type: 'string',
match: 'rest'
} }
], ],
description: { description: {

@ -4,14 +4,14 @@ class usernameCommand extends Command {
constructor() { constructor() {
super('username', { super('username', {
aliases: ['username'], aliases: ['username'],
split: 'none',
category: 'owner', category: 'owner',
ownerOnly: 'true', ownerOnly: 'true',
args: [ args: [
{ {
id: 'username', id: 'username',
prompt: 'Wich username should i have?', prompt: 'Wich username should i have?',
type: 'string' type: 'string',
match: 'rest'
} }
], ],
description: { description: {

Loading…
Cancel
Save