From 0a4be74bc2fba4154f7677a1c54c06f1af501675 Mon Sep 17 00:00:00 2001 From: Bsian Date: Fri, 3 Jan 2020 15:15:30 +0000 Subject: [PATCH] Update perms --- src/commands/announce.ts | 2 +- src/commands/createaccount.ts | 2 +- src/commands/deleteaccount.ts | 4 ++-- src/commands/lock.ts | 2 +- src/commands/resetpassword.ts | 2 +- src/commands/unban.ts | 2 +- src/commands/unlock.ts | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/commands/announce.ts b/src/commands/announce.ts index f0b271f..1b0207b 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: ['475817826251440128', '525441307037007902'] }; + this.permissions = { roles: ['662163685439045632'] }; this.enabled = true; } diff --git a/src/commands/createaccount.ts b/src/commands/createaccount.ts index 9e6eb35..6ca42a7 100644 --- a/src/commands/createaccount.ts +++ b/src/commands/createaccount.ts @@ -10,7 +10,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: ['475817826251440128', '525441307037007902'] }; + this.permissions = { roles: ['662163685439045632'] }; this.enabled = true; } diff --git a/src/commands/deleteaccount.ts b/src/commands/deleteaccount.ts index 32dc9aa..5abe7d2 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: ['475817826251440128', '525441307037007902'] }; + this.permissions = { roles: ['662163685439045632'] }; this.guildOnly = true; this.enabled = true; } @@ -48,7 +48,7 @@ export default class DeleteAccount extends Command { subject: 'Your account has been deleted', html: `

Library of Code | Cloud Services

-

Your Cloud Account has been deleted by our Engineers. There is no way to recover your files and this decision cannot be appealed. We're sorry to see you go.

+

Your Cloud Account has been deleted by our Engineers. If your account was deleted due to infractions, this will not be appealable. We're sorry to see you go.

Reason: ${reason}

Engineer: ${message.author.username}

diff --git a/src/commands/lock.ts b/src/commands/lock.ts index 3648fa0..239cc4b 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: ['455972169449734144', '643619219988152321'] }; + this.permissions = { roles: ['455972169449734144', '662163685439045632'] }; this.enabled = true; } diff --git a/src/commands/resetpassword.ts b/src/commands/resetpassword.ts index 5310f00..c0ce814 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: ['525441307037007902', '475817826251440128'] }; + this.permissions = { roles: ['662163685439045632'] }; this.enabled = true; } diff --git a/src/commands/unban.ts b/src/commands/unban.ts index 8366434..a443c99 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: ['455972169449734144', '643619219988152321'] }; + this.permissions = { roles: ['455972169449734144', '662163685439045632'] }; this.enabled = true; } diff --git a/src/commands/unlock.ts b/src/commands/unlock.ts index 56bc38c..e4ee5da 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: ['455972169449734144', '643619219988152321'] }; + this.permissions = { roles: ['455972169449734144', '662163685439045632'] }; this.enabled = true; }