From f43ef83dda7576c98045f5aee68b9f76c8c05d84 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Mon, 20 Apr 2020 16:18:19 -0400 Subject: [PATCH] perm fix --- src/commands/announce.ts | 2 +- src/commands/createaccount.ts | 2 +- src/commands/cwg_create.ts | 2 +- src/commands/cwg_data.ts | 2 +- src/commands/cwg_delete.ts | 2 +- src/commands/cwg_updatecert.ts | 2 +- src/commands/deleteaccount.ts | 2 +- src/commands/disk.ts | 2 +- src/commands/emailcode.ts | 2 +- src/commands/lock.ts | 2 +- src/commands/modlogs.ts | 2 +- src/commands/notify.ts | 2 +- src/commands/resetpassword.ts | 2 +- src/commands/tier.ts | 2 +- src/commands/unban.ts | 2 +- src/commands/unlock.ts | 2 +- src/commands/warn.ts | 2 +- src/commands/whois.ts | 2 +- 18 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/commands/announce.ts b/src/commands/announce.ts index 65cb8c6..a8f92c1 100644 --- a/src/commands/announce.ts +++ b/src/commands/announce.ts @@ -9,7 +9,7 @@ export default class Announce extends Command { this.description = 'Sends an announcement to all active terminals'; this.usage = `${this.client.config.prefix}announce Hi there! | ${this.client.config.prefix}announce -e EMERGENCY!`; this.aliases = ['ann']; - this.permissions = { roles: ['662163685439045632', '701454855952138300', '701454780828221450'] }; + this.permissions = { roles: ['662163685439045632', ' ', '701454780828221450'] }; this.enabled = true; } diff --git a/src/commands/createaccount.ts b/src/commands/createaccount.ts index 68da2d2..1599ebf 100644 --- a/src/commands/createaccount.ts +++ b/src/commands/createaccount.ts @@ -9,7 +9,7 @@ export default class CreateAccount extends Command { this.description = 'Create an account on the Cloud VM'; this.usage = `${this.client.config.prefix}createaccount [User ID] [Email] [Account name]`; this.aliases = ['createacc', 'cacc', 'caccount', 'create']; - this.permissions = { roles: ['662163685439045632', '701454855952138300', '701454780828221450'] }; + this.permissions = { roles: ['662163685439045632', '701454780828221450'] }; this.enabled = true; } diff --git a/src/commands/cwg_create.ts b/src/commands/cwg_create.ts index 86819b6..a3120c4 100644 --- a/src/commands/cwg_create.ts +++ b/src/commands/cwg_create.ts @@ -14,7 +14,7 @@ export default class CWG_Create extends Command { this.name = 'create'; this.description = 'Bind a domain to the CWG'; this.usage = `${this.client.config.prefix}cwg create [User ID | Username] [Domain] [Port] || Use snippets raw URL`; - this.permissions = { roles: ['662163685439045632', '701454855952138300'] }; + this.permissions = { roles: ['662163685439045632', '701454780828221450'] }; this.aliases = ['bind']; this.enabled = true; this.urlRegex = /^[a-zA-Z0-9\-._~:/?#[\]@!$&'()*+,;=]+$/; diff --git a/src/commands/cwg_data.ts b/src/commands/cwg_data.ts index 01ed4a4..19e9d35 100644 --- a/src/commands/cwg_data.ts +++ b/src/commands/cwg_data.ts @@ -12,7 +12,7 @@ export default class CWG_Data extends Command { this.name = 'data'; this.description = 'Check CWG data'; this.usage = `${this.client.config.prefix}cwg data [Domain | Port]`; - this.permissions = { roles: ['662163685439045632', '701454855952138300', '701454780828221450'] }; + this.permissions = { roles: ['662163685439045632', '701454780828221450'] }; this.enabled = true; } diff --git a/src/commands/cwg_delete.ts b/src/commands/cwg_delete.ts index be9fd19..38dd1e2 100644 --- a/src/commands/cwg_delete.ts +++ b/src/commands/cwg_delete.ts @@ -10,7 +10,7 @@ export default class CWG_Delete extends Command { this.name = 'delete'; this.description = 'Unbind a domain to the CWG'; this.usage = `${this.client.config.prefix}cwg delete [Domain | Port]`; - this.permissions = { roles: ['662163685439045632', '701454855952138300'] }; + this.permissions = { roles: ['662163685439045632'] }; this.aliases = ['unbind']; this.enabled = true; } diff --git a/src/commands/cwg_updatecert.ts b/src/commands/cwg_updatecert.ts index 49087f2..5e837e8 100644 --- a/src/commands/cwg_updatecert.ts +++ b/src/commands/cwg_updatecert.ts @@ -10,7 +10,7 @@ export default class CWG_UpdateCert extends Command { this.name = 'updatecert'; this.description = 'Update a CWG certificate'; this.usage = `${this.client.config.prefix}cwg updatecert [Domain | Port] [Cert Chain] [Private Key] || Use snippets raw URL`; - this.permissions = { roles: ['662163685439045632', '701454855952138300'] }; + this.permissions = { roles: ['662163685439045632'] }; this.aliases = ['update', 'updatecrt', 'renew', 'renewcert', 'renewcrt']; this.enabled = true; } diff --git a/src/commands/deleteaccount.ts b/src/commands/deleteaccount.ts index 61529e6..694fb79 100644 --- a/src/commands/deleteaccount.ts +++ b/src/commands/deleteaccount.ts @@ -10,7 +10,7 @@ export default class DeleteAccount extends Command { this.description = 'Delete an account on the Cloud VM'; this.usage = `${this.client.config.prefix}deleteaccount [User Name | User ID | Email Address] [Reason]`; this.aliases = ['deleteacc', 'dacc', 'daccount', 'delete']; - this.permissions = { roles: ['662163685439045632', '701454855952138300'] }; + this.permissions = { roles: ['662163685439045632'] }; this.guildOnly = true; this.enabled = true; } diff --git a/src/commands/disk.ts b/src/commands/disk.ts index 48ecc57..867a3e9 100644 --- a/src/commands/disk.ts +++ b/src/commands/disk.ts @@ -11,7 +11,7 @@ export default class Disk extends Command { this.name = 'disk'; this.description = 'Checks the used disk space by a user'; this.usage = `${this.client.config.prefix}disk [Username/User ID/Email]`; - this.permissions = { roles: ['662163685439045632', '701454855952138300', '701454780828221450'] }; + this.permissions = { roles: ['662163685439045632', '701454780828221450'] }; this.enabled = false; } diff --git a/src/commands/emailcode.ts b/src/commands/emailcode.ts index e1acbf6..d4947e2 100644 --- a/src/commands/emailcode.ts +++ b/src/commands/emailcode.ts @@ -9,7 +9,7 @@ export default class EmailCode extends Command { this.name = 'emailcode'; this.description = 'Sends a code to an email address to use for address verification.'; this.usage = `${this.client.config.prefix}emailcode `; - this.permissions = { roles: ['662163685439045632', '701454855952138300', '701454780828221450'] }; + this.permissions = { roles: ['662163685439045632', '701454780828221450'] }; this.aliases = ['code']; this.enabled = true; } diff --git a/src/commands/lock.ts b/src/commands/lock.ts index 77e6f8c..bf88d6b 100644 --- a/src/commands/lock.ts +++ b/src/commands/lock.ts @@ -8,7 +8,7 @@ export default class Lock extends Command { super(client); this.name = 'lock'; this.description = 'Locks an account.'; - this.permissions = { roles: ['662163685439045632', '701454855952138300', '701454780828221450'] }; + this.permissions = { roles: ['662163685439045632', '701454780828221450'] }; this.enabled = true; } diff --git a/src/commands/modlogs.ts b/src/commands/modlogs.ts index b8cf5b9..73ab718 100644 --- a/src/commands/modlogs.ts +++ b/src/commands/modlogs.ts @@ -10,7 +10,7 @@ export default class Modlogs extends Command { this.description = 'Check a user\'s Cloud Modlogs'; this.aliases = ['infractions', 'modlog']; this.enabled = true; - this.permissions = { roles: ['662163685439045632', '701454855952138300', '701454780828221450'] }; + this.permissions = { roles: ['662163685439045632', '701454780828221450'] }; } public async run(message: Message, args: string[]) { diff --git a/src/commands/notify.ts b/src/commands/notify.ts index bff60d1..8fc3583 100644 --- a/src/commands/notify.ts +++ b/src/commands/notify.ts @@ -8,7 +8,7 @@ export default class Notify extends Command { this.name = 'notify'; this.description = 'Sends a notification to a user.'; this.usage = `${this.client.config.prefix}notify [username | user ID]`; - this.permissions = { roles: ['662163685439045632', '701454855952138300', '701454780828221450'] }; + this.permissions = { roles: ['662163685439045632', '701454780828221450'] }; this.enabled = true; } diff --git a/src/commands/resetpassword.ts b/src/commands/resetpassword.ts index eddc7ef..e122f42 100644 --- a/src/commands/resetpassword.ts +++ b/src/commands/resetpassword.ts @@ -10,7 +10,7 @@ export default class ResetPassword extends Command { this.description = 'Reset a cloud account password'; this.aliases = ['resetpasswd', 'resetpw']; this.usage = `${this.client.config.prefix}resetpassword [Username | User ID | Email]`; - this.permissions = { roles: ['662163685439045632', '701454855952138300', '701454780828221450'] }; + this.permissions = { roles: ['662163685439045632', '701454780828221450'] }; this.enabled = true; } diff --git a/src/commands/tier.ts b/src/commands/tier.ts index 15a353e..6febb27 100644 --- a/src/commands/tier.ts +++ b/src/commands/tier.ts @@ -8,7 +8,7 @@ export default class Tier extends Command { this.name = 'tier'; this.description = 'Changes the tier level for an account.'; this.usage = `${this.client.config.prefix}tier <1 | 2 | 3>`; - this.permissions = { roles: ['662163685439045632', '701454855952138300', '701454780828221450'] }; + this.permissions = { roles: ['662163685439045632', '701454780828221450'] }; this.enabled = true; } diff --git a/src/commands/unban.ts b/src/commands/unban.ts index dc5f5a7..408e3e0 100644 --- a/src/commands/unban.ts +++ b/src/commands/unban.ts @@ -10,7 +10,7 @@ export default class Unban extends Command { this.description = 'Unban an IP from Cloud/NGINX'; this.aliases = ['unbanip']; this.usage = `${this.client.config.prefix}unban [service] [ip]`; - this.permissions = { roles: ['662163685439045632', '701454855952138300', '701454780828221450'] }; + this.permissions = { roles: ['662163685439045632', '701454780828221450'] }; this.enabled = true; } diff --git a/src/commands/unlock.ts b/src/commands/unlock.ts index e5ab578..81e757a 100644 --- a/src/commands/unlock.ts +++ b/src/commands/unlock.ts @@ -7,7 +7,7 @@ export default class Unlock extends Command { super(client); this.name = 'unlock'; this.description = 'Unlocks an account.'; - this.permissions = { roles: ['662163685439045632', '701454855952138300', '701454780828221450'] }; + this.permissions = { roles: ['662163685439045632', '701454780828221450'] }; this.enabled = true; } diff --git a/src/commands/warn.ts b/src/commands/warn.ts index 5ee3a9d..218307d 100644 --- a/src/commands/warn.ts +++ b/src/commands/warn.ts @@ -8,7 +8,7 @@ export default class Warn extends Command { this.name = 'warn'; this.description = 'Sends an official warning to user.'; this.usage = `${this.client.config.prefix}warn [username | user ID]`; - this.permissions = { roles: ['662163685439045632', '701454855952138300', '701454780828221450'] }; + this.permissions = { roles: ['662163685439045632', '701454780828221450'] }; this.enabled = true; } diff --git a/src/commands/whois.ts b/src/commands/whois.ts index e1624c9..5b129a2 100644 --- a/src/commands/whois.ts +++ b/src/commands/whois.ts @@ -12,7 +12,7 @@ export default class Whois extends Command { this.description = 'Views information for a cloud account.'; this.aliases = ['account', 'user']; this.usage = `${this.client.config.prefix}account [User Name | User ID | Email Address]`; - this.permissions = { roles: ['662163685439045632', '701454855952138300', '701454780828221450'] }; + this.permissions = { roles: ['662163685439045632', '701454780828221450'] }; this.subcmds = [User]; this.enabled = true; }