forked from engineering/cloudservices
formatting
parent
2e960f1940
commit
20ce572fef
|
@ -17,7 +17,7 @@ export default class Exec extends Command {
|
||||||
try {
|
try {
|
||||||
if (!args.length) return this.client.commands.get('help').run(message, [this.name]);
|
if (!args.length) return this.client.commands.get('help').run(message, [this.name]);
|
||||||
|
|
||||||
const response = await this.loading(message.channel, `***Executing \`${args.join(' ')}\`***`);
|
const response = await this.loading(message.channel, `\`${args.join(' ')}\``);
|
||||||
let result: string;
|
let result: string;
|
||||||
try {
|
try {
|
||||||
result = await this.client.util.exec(args.join(' '), { cwd: '/opt/CloudServices' });
|
result = await this.client.util.exec(args.join(' '), { cwd: '/opt/CloudServices' });
|
||||||
|
|
Loading…
Reference in New Issue