Get bot's corresponding PID

Discussion in 'Developer Support' started by proxi, Apr 8, 2016.

  1. I'm not sure if there is a way to already do this, but for debugging purposes it'd be nice if we could print out the PID of the client the bot is working on.

    If it's not already in there, I think that'd be cool xD
  2. You're just as well off assigning a random number at startup, showing it in the UI, and using that for identifications in your debugging.
    proxi likes this.
  3. You are 100% correct sir xD Great idea!
  4. Also if you use separate accounts you can just use the hashCode of the username. :p
    proxi likes this.

Share This Page