The title says it all. But wait a minute, let me explain!
We've all heard of eval commands, correct? They allow specific people to run commands in the bot. The problem is that catching every possible way for the token to be leaked by the command is needlessly excessive.
So, I propose that the bot scans every message it sends itself to search for the token. If the bot finds the token, it automatically resets the token (changing a number of variables including the token that is used to restart, config files etc) then notifies bot owners and carries on like it was before.
It's simple - trivial really - and effective. I don't see why you wouldn't implement it.
U moet u aanmelden om een opmerking te plaatsen.