merge-requests/2/merge
Bsian 2020-01-01 22:04:13 +00:00
parent ab30afd7bc
commit df58a9c4fe
No known key found for this signature in database
GPG Key ID: 097FB9A291026091
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ export default class Exec extends Command {
const response = await message.channel.createMessage(`${this.client.stores.emojis.loading} ***Executing \`${args.join(' ')}\`***`);
let result: string;
try {
result = await this.client.util.exec(args.join(' '));
result = await this.client.util.exec(args.join(' '), { cwd: '/var/CloudServices' });
} catch (error) {
result = error.message;
}