diff --git a/src/commands/createaccount.ts b/src/commands/createaccount.ts index 174bbff..89339d4 100644 --- a/src/commands/createaccount.ts +++ b/src/commands/createaccount.ts @@ -78,7 +78,7 @@ export default class CreateAccount extends Command {

Useful information

How to log in:

    -
  1. Open your desired terminal application - we recommend using Bash, but you can use your computer's default
  2. +
  3. Open your desired terminal application - we recommend using Bash, but you can use your computer's default
  4. Type in your SSH Login as above
  5. When prompted, enter your password Please note that inputs will be blank, so be careful not to type in your password incorrectly
diff --git a/src/commands/eval.ts b/src/commands/eval.ts index 698ebd5..5e4f6f1 100644 --- a/src/commands/eval.ts +++ b/src/commands/eval.ts @@ -32,19 +32,16 @@ export default class Eval extends Command { evaled = error.stack; } - /* - if (output) { - output = output.replace(RegExp(this.client.config.prefix, 'gi'), 'juul'); - output = output.replace(RegExp(this.client.config.emailPass, 'gi'), 'juul'); - output = output.replace(RegExp(this.client.config.cloudflare, 'gi'), 'juul'); - } - */ + evaled = evaled.replace(new RegExp(this.client.config.token, 'gi'), 'juul'); + evaled = evaled.replace(new RegExp(this.client.config.emailPass, 'gi'), 'juul'); + evaled = evaled.replace(new RegExp(this.client.config.cloudflare, 'gi'), 'juul'); + const display = this.client.util.splitString(evaled, 1975); if (display[5]) { try { const { data } = await axios.post('https://snippets.cloud.libraryofcode.org/documents', display.join('')); - return message.channel.createMessage(`${this.client.stores.emojis.success} Your evaluation output can be found on https://snippets.cloud.libraryofcode.org/${data.key}`); + return message.channel.createMessage(`${this.client.stores.emojis.success} Your evaluation evaled can be found on https://snippets.cloud.libraryofcode.org/${data.key}`); } catch (error) { return message.channel.createMessage(`${this.client.stores.emojis.error} ${error}`); } diff --git a/src/commands/pull.ts b/src/commands/pull.ts index 9c216e5..4686365 100644 --- a/src/commands/pull.ts +++ b/src/commands/pull.ts @@ -25,7 +25,7 @@ export default class Pull extends Command { if (pull.includes('Already up to date')) return updateMessage.edit(`${this.client.stores.emojis.success} ***No updates available***`); if (!pull.includes('origin/master')) return updateMessage.edit(`${this.client.stores.emojis.error} ***Unexpected output:***\n\`\`\`sh\n${pull}\n\`\`\``); - const passedPull = await updateMessage.edit(`${this.client.stores.emojis.success} ***Pulled latest commit***\n${this.client.stores.emojis.loading} ***Rebuilding files...***`); + const passedPull = await updateMessage.edit(`${this.client.stores.emojis.success} ***Pulled latest commit***\n${this.client.stores.emojis.loading} ***Rebuilding files...***\n\`\`\`sh\n${pull}\n\`\`\``); try { await this.client.util.exec('cd ../ && tsc -p ./tsconfig.json'); } catch (error) {