From 3f7ead1db458288a03a7342191538fc70ef1ef15 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Sat, 28 Mar 2020 04:58:14 -0400 Subject: [PATCH] disable all securesign commands --- src/commands/securesign.ts | 2 +- src/commands/securesign_activatekey.ts | 2 +- src/commands/securesign_alliance.ts | 2 +- src/commands/securesign_build.ts | 2 +- src/commands/securesign_createcrt.ts | 2 +- src/commands/securesign_init.ts | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/commands/securesign.ts b/src/commands/securesign.ts index 6b7dfbe..a0bbfc7 100644 --- a/src/commands/securesign.ts +++ b/src/commands/securesign.ts @@ -16,7 +16,7 @@ export default class SecureSign extends Command { this.usage = `Run ${this.client.config.prefix}${this.name} [subcommand] for usage information`; this.aliases = ['ss']; this.subcmds = [Build, Init, Account, ActivateKey, CreateCrt, Alliace]; - this.enabled = true; + this.enabled = false; } public async run(message: Message) { diff --git a/src/commands/securesign_activatekey.ts b/src/commands/securesign_activatekey.ts index fc99504..2d1bcd0 100644 --- a/src/commands/securesign_activatekey.ts +++ b/src/commands/securesign_activatekey.ts @@ -9,7 +9,7 @@ export default class SecureSign_ActivateKey extends Command { this.name = 'activatekey'; this.description = 'Claims an Activation Key'; this.usage = `${this.client.config.prefix}securesign activatekey [key]`; - this.enabled = true; + this.enabled = false; } public async run(message: Message, args: string[]) { diff --git a/src/commands/securesign_alliance.ts b/src/commands/securesign_alliance.ts index cc54c10..ca509c5 100644 --- a/src/commands/securesign_alliance.ts +++ b/src/commands/securesign_alliance.ts @@ -10,7 +10,7 @@ export default class SecureSign_Alliance extends Command { this.name = 'alliance'; this.description = 'Claims an alliance/promo key'; this.usage = `${this.client.config.prefix}securesign alliance [key]`; - this.enabled = true; + this.enabled = false; this.guildOnly = false; } diff --git a/src/commands/securesign_build.ts b/src/commands/securesign_build.ts index 48f5d2a..fd8665b 100644 --- a/src/commands/securesign_build.ts +++ b/src/commands/securesign_build.ts @@ -8,7 +8,7 @@ export default class SecureSign_Build extends Command { this.name = 'build'; this.description = 'Shows information about the current build of the CLI'; this.usage = `${this.client.config.prefix}securesign build`; - this.enabled = true; + this.enabled = false; } public async run(message: Message, args: string[]) { diff --git a/src/commands/securesign_createcrt.ts b/src/commands/securesign_createcrt.ts index 85052db..655921b 100644 --- a/src/commands/securesign_createcrt.ts +++ b/src/commands/securesign_createcrt.ts @@ -9,7 +9,7 @@ export default class SecureSign_Init extends Command { this.name = 'createcrt'; 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.enabled = true; + this.enabled = false; this.guildOnly = false; } diff --git a/src/commands/securesign_init.ts b/src/commands/securesign_init.ts index ecaacb3..199acf3 100644 --- a/src/commands/securesign_init.ts +++ b/src/commands/securesign_init.ts @@ -9,7 +9,7 @@ export default class SecureSign_Init extends Command { this.name = 'init'; this.description = 'Inits configuration files and environment variables (DM only)'; this.usage = `${this.client.config.prefix}securesign init [hash]`; - this.enabled = true; + this.enabled = false; this.guildOnly = false; }