OpenPoGoWeb icon indicating copy to clipboard operation
OpenPoGoWeb copied to clipboard

[Suggestion] Ability to rename bots instead of e-mail.

Open jstgnkl opened this issue 9 years ago • 6 comments

Would love to be able to change the name of my bots. So at least people who could access my web page won't be able to instantly see my e-mail.

jstgnkl avatar Jul 30 '16 18:07 jstgnkl

I'm thinking of ways to do this, maybe changing the users array into a dictionary like so:

users: {"[email protected]":"USERNAME_I_WANT",
"[email protected]":"Cool Bot"}

What do you think?

jadbalout avatar Jul 30 '16 22:07 jadbalout

@jadbalout To be fair, the config file is in a JS file which will be loaded alongside everything else, so it's still possible to peek the actual username.

BobbyWibowo avatar Jul 31 '16 02:07 BobbyWibowo

@BobbyWibowo Fair enough. I guess that can't be done without removing the users and placing them in SQL Databases, which we do not intend to do.

jadbalout avatar Jul 31 '16 05:07 jadbalout

@jadbalout Yeah, but I personally still like a simple display name feature. I have done this on my personal repo. I roughly implemented it similar with your idea.

BobbyWibowo avatar Jul 31 '16 07:07 BobbyWibowo

Is there any other usage of this value, except picking the correct json files? If not then you have a couple of options, you could for instance symlink (or hardlink if you prefer) '[email protected]' to 'inventory-CoolBot.json'.

Or ask for a similar feature in the bot (a config value for setting the json filenames)

terbolous avatar Jul 31 '16 08:07 terbolous

@eriweb As far as I'm aware, it's indeed only for getting the correct json files.

BobbyWibowo avatar Jul 31 '16 09:07 BobbyWibowo