dev command used for profiling the bot while its live
runs jps in terminal to get bot.jar PID
then runs jstack <PID> in the terminal and pipes that output to a file which then gets sent on discord (can be done directly through JDA without the need to make a new file on the system)
this will need to be different on Windows but this will do for now.
dev command used for profiling the bot while its live
runs
jps
in terminal to get bot.jar PIDthen runs
jstack <PID>
in the terminal and pipes that output to a file which then gets sent on discord (can be done directly through JDA without the need to make a new file on the system)this will need to be different on Windows but this will do for now.