Neos-Metaverse / NeosPublic

A public issue/wiki only repository for the NeosVR project
195 stars 9 forks source link

Add a Neos Bot command to rename a group #3337

Open sirkitree opened 2 years ago

sirkitree commented 2 years ago

Is your feature request related to a problem? Please describe.

I'd like to be able to rename an old group in order to repurpose it.

Relevant issues

154 which states:

Creating/Managing groups and group members (Plus/Pro feature)

So this might fall under than eventually.

Describe the solution you'd like

I'd like to have a command to rename a group. Similar to how we have other commands around groups as listed here: https://wiki.neos.com/Neos_Bot#Group_Commands

Something like: /renameGroup <current group name> <new group name>

Describe alternatives you've considered

I've considered pinging Shifty or Karel, but it would be great for existing admins of a group to be able to do this if possible without pinging a team member and adding to their workload for something that should be relatively trivial.

Additional context

I have some older groups that never really took off. I'd like to start a new group and repurpose one of these older groups instead of creating a new one. This would be useful for anyone who has admin privileges to a group and can't create more than their group quota.

Frooxius commented 2 years ago

Unfortunately we don't actually support renaming groups at the moment, so that's not something we could add right away. Even with that, we wouldn't likely expose this to users directly, because it's a very expensive process, since names of groups are unique, perhaps with a limit on how often they can be renamed. It's part of why we only have the staff do this for usernames too.

Generally I'd recommend creating a new group instead though. You won't be able to change the ID of the group. The display name can be potentially made to be renamable, but the ID will keep the original name. Would that work well enough?

Alternatively it might be better to instead add commands to remove groups if you don't need them, rather than looking to repurpose them.

Lexevolution commented 2 years ago

Just for added context, the group I'm a part of has had the name of it changed: https://api.neos.com/api/groups/G-Sirs-Black-Jack We requested a staff member to do this, which isn't the fastest of processes. So some way for user/group names to be renamed in the future through either the bot or through some authenticated process (with some limits on number of changes over a certain time of course) would be really handy.

Also in my opinion I don't think many people would be bothered with the group id staying the same, as long as they are warned beforehand that this is the case.

Frooxius commented 2 years ago

Ooops sorry! I forgot that I added the internal command for changing the groups.

However the rest is still a problem though - this isn't something that the system is designed to do on a whim, which is why stuff like this goes through the staff, to avoid doing it too often. Exposing this would require adding new mechanisms for rate limiting and resolving conflicts.

It's something that can potentially be done, but I'm not sure if it might be better to instead expose commands to remove the groups and create new ones instead.

sirkitree commented 2 years ago

Removing and then creating would serve this goal as well, though users would have to be aware that the shared inventory would also be removed I assume. Currently we can't create our own groups though either and would still have to go through a team member, which I was hoping to solve for here too.

The ID isn't too big of a deal though, so just changing it's alias instead would also serve my use case.