1
0
Fork 0

disable all securesign commands

refactor/models
Matthew 2020-03-28 04:58:14 -04:00
parent 2f2d6d823c
commit 3f7ead1db4
No known key found for this signature in database
GPG Key ID: 766BE43AE75F7559
6 changed files with 6 additions and 6 deletions

View File

@ -16,7 +16,7 @@ export default class SecureSign extends Command {
this.usage = `Run ${this.client.config.prefix}${this.name} [subcommand] for usage information`; this.usage = `Run ${this.client.config.prefix}${this.name} [subcommand] for usage information`;
this.aliases = ['ss']; this.aliases = ['ss'];
this.subcmds = [Build, Init, Account, ActivateKey, CreateCrt, Alliace]; this.subcmds = [Build, Init, Account, ActivateKey, CreateCrt, Alliace];
this.enabled = true; this.enabled = false;
} }
public async run(message: Message) { public async run(message: Message) {

View File

@ -9,7 +9,7 @@ export default class SecureSign_ActivateKey extends Command {
this.name = 'activatekey'; this.name = 'activatekey';
this.description = 'Claims an Activation Key'; this.description = 'Claims an Activation Key';
this.usage = `${this.client.config.prefix}securesign activatekey [key]`; this.usage = `${this.client.config.prefix}securesign activatekey [key]`;
this.enabled = true; this.enabled = false;
} }
public async run(message: Message, args: string[]) { public async run(message: Message, args: string[]) {

View File

@ -10,7 +10,7 @@ export default class SecureSign_Alliance extends Command {
this.name = 'alliance'; this.name = 'alliance';
this.description = 'Claims an alliance/promo key'; this.description = 'Claims an alliance/promo key';
this.usage = `${this.client.config.prefix}securesign alliance [key]`; this.usage = `${this.client.config.prefix}securesign alliance [key]`;
this.enabled = true; this.enabled = false;
this.guildOnly = false; this.guildOnly = false;
} }

View File

@ -8,7 +8,7 @@ export default class SecureSign_Build extends Command {
this.name = 'build'; this.name = 'build';
this.description = 'Shows information about the current build of the CLI'; this.description = 'Shows information about the current build of the CLI';
this.usage = `${this.client.config.prefix}securesign build`; this.usage = `${this.client.config.prefix}securesign build`;
this.enabled = true; this.enabled = false;
} }
public async run(message: Message, args: string[]) { public async run(message: Message, args: string[]) {

View File

@ -9,7 +9,7 @@ export default class SecureSign_Init extends Command {
this.name = 'createcrt'; this.name = 'createcrt';
this.description = 'Creates a new certificate'; this.description = 'Creates a new certificate';
this.usage = `${this.client.config.prefix}securesign createcrt [-s sign] [-c class] [-m digest]\n\`sign\`: Sign type (ecc/rsa)\n\`class\`: Certificate Class (1/2/3)\n\`digest\`: SHA Digest (256/384/512)`; this.usage = `${this.client.config.prefix}securesign createcrt [-s sign] [-c class] [-m digest]\n\`sign\`: Sign type (ecc/rsa)\n\`class\`: Certificate Class (1/2/3)\n\`digest\`: SHA Digest (256/384/512)`;
this.enabled = true; this.enabled = false;
this.guildOnly = false; this.guildOnly = false;
} }

View File

@ -9,7 +9,7 @@ export default class SecureSign_Init extends Command {
this.name = 'init'; this.name = 'init';
this.description = 'Inits configuration files and environment variables (DM only)'; this.description = 'Inits configuration files and environment variables (DM only)';
this.usage = `${this.client.config.prefix}securesign init [hash]`; this.usage = `${this.client.config.prefix}securesign init [hash]`;
this.enabled = true; this.enabled = false;
this.guildOnly = false; this.guildOnly = false;
} }