add killpid command
parent
fee35c6fcb
commit
a43de64957
|
@ -40,7 +40,10 @@ export default class CSCLI {
|
|||
// FINISH VERIFICATION CHECKS
|
||||
switch (parsed.Type) {
|
||||
case 'lock':
|
||||
await this.client.util.accounts.lock(parsed.Username, this.client.user.id, { reason: 'Failed to accept Terms of Service.' });
|
||||
await this.client.util.accounts.lock(parsed.Username, this.client.user.id, { reason: parsed.Message });
|
||||
break;
|
||||
case 'killpid':
|
||||
await this.client.util.exec(`kill -9 ${parsed.Message}`);
|
||||
break;
|
||||
case 'ram':
|
||||
const memoryConversion = dataConversion(Number(await this.client.util.exec(`memory ${parsed.Username}`)) * 1000);
|
||||
|
|
Loading…
Reference in New Issue