fix usage typos
parent
afabcad8c1
commit
f6f2105776
|
@ -12,7 +12,7 @@ export default class CWG extends Command {
|
||||||
super(client);
|
super(client);
|
||||||
this.name = 'cwg';
|
this.name = 'cwg';
|
||||||
this.description = 'Manages aspects for the CWG.';
|
this.description = 'Manages aspects for the CWG.';
|
||||||
this.usage = `${this.client.config.prefix}cwg create [User ID/Username] [Domain] [Port] <Path to x509 cert> <Path to x509 key>\n${this.client.config.prefix}cwg data [Domain/Port]`;
|
this.usage = `${this.client.config.prefix}cwg create [User ID | Username] [Domain] [Port] <Path to x509 cert> <Path to x509 key>\n${this.client.config.prefix}cwg data [Domain/Port]`;
|
||||||
this.permissions = { roles: ['446104438969466890'] };
|
this.permissions = { roles: ['446104438969466890'] };
|
||||||
this.enabled = true;
|
this.enabled = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,7 @@ export default class DeleteAccount extends Command {
|
||||||
super(client);
|
super(client);
|
||||||
this.name = 'deleteaccount';
|
this.name = 'deleteaccount';
|
||||||
this.description = 'Delete an account on the Cloud VM';
|
this.description = 'Delete an account on the Cloud VM';
|
||||||
this.usage = `${this.client.config.prefix}deleteaccount [User Name || User ID || Email Address] [Reason] | ${this.client.config.prefix}deleteaccount [Username] [Reason] | ${this.client.config.prefix}deleteaccount [Email] [Reason]`;
|
this.usage = `${this.client.config.prefix}deleteaccount [User Name | User ID | Email Address] [Reason] | ${this.client.config.prefix}deleteaccount [Username] [Reason] | ${this.client.config.prefix}deleteaccount [Email] [Reason]`;
|
||||||
this.aliases = ['deleteacc', 'dacc', 'daccount', 'delete'];
|
this.aliases = ['deleteacc', 'dacc', 'daccount', 'delete'];
|
||||||
this.permissions = { roles: ['475817826251440128', '525441307037007902'] };
|
this.permissions = { roles: ['475817826251440128', '525441307037007902'] };
|
||||||
this.enabled = true;
|
this.enabled = true;
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
/* eslint-disable consistent-return */
|
/* eslint-disable consistent-return */
|
||||||
import { Message } from 'eris';
|
import { Message } from 'eris';
|
||||||
import { Client } from '..';
|
import { Client } from '..';
|
||||||
import { Command, RichEmbed } from '../class';
|
import { Command } from '../class';
|
||||||
|
|
||||||
export default class Warn extends Command {
|
export default class Warn extends Command {
|
||||||
constructor(client: Client) {
|
constructor(client: Client) {
|
||||||
super(client);
|
super(client);
|
||||||
this.name = 'warn';
|
this.name = 'warn';
|
||||||
this.description = 'Sends an official warning to user.';
|
this.description = 'Sends an official warning to user.';
|
||||||
this.usage = `${this.client.config.prefix}warn [username || user ID]`;
|
this.usage = `${this.client.config.prefix}warn [username | user ID]`;
|
||||||
this.permissions = { roles: ['446104438969466890'] };
|
this.permissions = { roles: ['446104438969466890'] };
|
||||||
this.enabled = true;
|
this.enabled = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,7 +10,7 @@ export default class Whois extends Command {
|
||||||
this.name = 'whois';
|
this.name = 'whois';
|
||||||
this.description = 'Views information for a cloud account.';
|
this.description = 'Views information for a cloud account.';
|
||||||
this.aliases = ['account', 'user'];
|
this.aliases = ['account', 'user'];
|
||||||
this.usage = `${this.client.config.prefix}account [User Name || User ID || Email Address]`;
|
this.usage = `${this.client.config.prefix}account [User Name | User ID | Email Address]`;
|
||||||
this.permissions = { roles: ['446104438969466890'] };
|
this.permissions = { roles: ['446104438969466890'] };
|
||||||
this.enabled = true;
|
this.enabled = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue