From 9412ee87c99732c3e2e284bdf84c09d0711c9ac1 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Mon, 11 Nov 2019 20:15:46 -0500 Subject: [PATCH] permission changes --- src/commands/announce.ts | 2 +- src/commands/deleteaccount.ts | 2 +- src/commands/disk.ts | 2 +- src/commands/lock.ts | 2 +- src/commands/unlock.ts | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/commands/announce.ts b/src/commands/announce.ts index de33fb3..f0b271f 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: ['608095934399643649', '521312697896271873'] }; + this.permissions = { roles: ['475817826251440128', '525441307037007902'] }; this.enabled = true; } diff --git a/src/commands/deleteaccount.ts b/src/commands/deleteaccount.ts index 3480f74..eb58625 100644 --- a/src/commands/deleteaccount.ts +++ b/src/commands/deleteaccount.ts @@ -1,6 +1,6 @@ import { Message, PrivateChannel } from 'eris'; import uuid from 'uuid/v4'; -import { Command, RichEmbed } from '../class'; +import { Command } from '../class'; import { Client } from '..'; export default class DeleteAccount extends Command { diff --git a/src/commands/disk.ts b/src/commands/disk.ts index 0dd9afd..052cc03 100644 --- a/src/commands/disk.ts +++ b/src/commands/disk.ts @@ -13,7 +13,7 @@ export default class Disk extends Command { this.description = 'Checks the used disk space by a user'; this.usage = `${this.client.config.prefix}disk [Username/User ID/Email]`; this.permissions = { roles: ['446104438969466890'] }; - this.enabled = true; + this.enabled = false; } async run(message: Message, args: string[]) { diff --git a/src/commands/lock.ts b/src/commands/lock.ts index 1f367c3..18ae3ee 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: ['608095934399643649', '521312697896271873'] }; + this.permissions = { roles: ['455972169449734144', '643619219988152321'] }; this.enabled = true; } diff --git a/src/commands/unlock.ts b/src/commands/unlock.ts index 11be5f8..1d04afb 100644 --- a/src/commands/unlock.ts +++ b/src/commands/unlock.ts @@ -8,7 +8,7 @@ export default class Unlock extends Command { super(client); this.name = 'unlock'; this.description = 'Unlocks an account.'; - this.permissions = { roles: ['608095934399643649', '521312697896271873'] }; + this.permissions = { roles: ['455972169449734144', '643619219988152321'] }; this.enabled = true; }