merge-requests/4/head
Matthew 2020-04-20 16:18:19 -04:00
parent 11cc0fcabb
commit f43ef83dda
No known key found for this signature in database
GPG Key ID: 766BE43AE75F7559
18 changed files with 18 additions and 18 deletions

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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] <Cert Chain> <Private Key> || 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\-._~:/?#[\]@!$&'()*+,;=]+$/;

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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 <email address>`;
this.permissions = { roles: ['662163685439045632', '701454855952138300', '701454780828221450'] };
this.permissions = { roles: ['662163685439045632', '701454780828221450'] };
this.aliases = ['code'];
this.enabled = true;
}

View File

@ -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;
}

View File

@ -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[]) {

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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 <username | user ID> <1 | 2 | 3>`;
this.permissions = { roles: ['662163685439045632', '701454855952138300', '701454780828221450'] };
this.permissions = { roles: ['662163685439045632', '701454780828221450'] };
this.enabled = true;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}