rayzrdev / SharpBot

A Discord.js selfbot written by Rayzr - 60 second installation!
https://git.io/sharpbot
MIT License
129 stars 134 forks source link

Image-dump command outputs relative to installation directory #138

Closed rayzr522 closed 5 years ago

rayzr522 commented 6 years ago

Currently the //imagedump command outputs relative to the installation directory. Since that is some weird system folder (based on wherever yarn global add sharpbot installs it), that's not exactly the optimal solution.

Two alternatives:

  1. Output relative to the CWD at the time of running sharpbot. So if you do cd Desktop and then sharpbot, all images would be dumped to ~/Desktop/out.
  2. Output to the data folder for SharpBot and log the path to it in the console.