forked from engineering/cloudservices
permission changes
parent
3964c77a40
commit
9412ee87c9
|
@ -9,7 +9,7 @@ export default class Announce extends Command {
|
||||||
this.description = 'Sends an announcement to all active terminals';
|
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.usage = `${this.client.config.prefix}announce Hi there! | ${this.client.config.prefix}announce -e EMERGENCY!`;
|
||||||
this.aliases = ['ann'];
|
this.aliases = ['ann'];
|
||||||
this.permissions = { roles: ['608095934399643649', '521312697896271873'] };
|
this.permissions = { roles: ['475817826251440128', '525441307037007902'] };
|
||||||
this.enabled = true;
|
this.enabled = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import { Message, PrivateChannel } from 'eris';
|
import { Message, PrivateChannel } from 'eris';
|
||||||
import uuid from 'uuid/v4';
|
import uuid from 'uuid/v4';
|
||||||
import { Command, RichEmbed } from '../class';
|
import { Command } from '../class';
|
||||||
import { Client } from '..';
|
import { Client } from '..';
|
||||||
|
|
||||||
export default class DeleteAccount extends Command {
|
export default class DeleteAccount extends Command {
|
||||||
|
|
|
@ -13,7 +13,7 @@ export default class Disk extends Command {
|
||||||
this.description = 'Checks the used disk space by a user';
|
this.description = 'Checks the used disk space by a user';
|
||||||
this.usage = `${this.client.config.prefix}disk [Username/User ID/Email]`;
|
this.usage = `${this.client.config.prefix}disk [Username/User ID/Email]`;
|
||||||
this.permissions = { roles: ['446104438969466890'] };
|
this.permissions = { roles: ['446104438969466890'] };
|
||||||
this.enabled = true;
|
this.enabled = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
async run(message: Message, args: string[]) {
|
async run(message: Message, args: string[]) {
|
||||||
|
|
|
@ -8,7 +8,7 @@ export default class Lock extends Command {
|
||||||
super(client);
|
super(client);
|
||||||
this.name = 'lock';
|
this.name = 'lock';
|
||||||
this.description = 'Locks an account.';
|
this.description = 'Locks an account.';
|
||||||
this.permissions = { roles: ['608095934399643649', '521312697896271873'] };
|
this.permissions = { roles: ['455972169449734144', '643619219988152321'] };
|
||||||
this.enabled = true;
|
this.enabled = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ export default class Unlock extends Command {
|
||||||
super(client);
|
super(client);
|
||||||
this.name = 'unlock';
|
this.name = 'unlock';
|
||||||
this.description = 'Unlocks an account.';
|
this.description = 'Unlocks an account.';
|
||||||
this.permissions = { roles: ['608095934399643649', '521312697896271873'] };
|
this.permissions = { roles: ['455972169449734144', '643619219988152321'] };
|
||||||
this.enabled = true;
|
this.enabled = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue