Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Admins can Set/Change the timezone of someone else #27

Open
cosmicviyx opened this issue Feb 3, 2023 · 4 comments
Open

Admins can Set/Change the timezone of someone else #27

cosmicviyx opened this issue Feb 3, 2023 · 4 comments

Comments

@cosmicviyx
Copy link

let admins be able to set timezones for people in the server by default atleast
and give the user the option to not allow admins to change their timezone

@laralove143 laralove143 added the enhancement New feature or request label Feb 3, 2023
@laralove143 laralove143 added this to the discussing milestone Feb 3, 2023
@laralove143
Copy link
Owner

#26 would make setting the timezone much easier, especially for servers where setting a default timezone for the server makes sense

a caveat for server timezones is it might be confusing when their timezone works in one server but not in another, alternatively it could default to the server-set timezone unless they changed it manually, but that might be even more confusing

i think a better option for restricting timezone modify access for some admins is a flow like

  1. admin runs /change_other_user_timezone {user} (ideas on a better name?)
  2. bot follows the same /timezone flow
  3. sends a message saying {moderator} would like to change your timezone to {timezone} with buttons saying allow and deny
  4. when the user clicks allow, it changes the timezone
  5. when any button is clicked, it deletes the message

with this approach the moderator permissions requirement could be lifted too

@cosmicviyx
Copy link
Author

for changing timezones this works, but when the other user doesnt have a timezone set yet, they dont have to have permission if theyre a moderator

@laralove143
Copy link
Owner

i think timezone being set for a user out of the blue would be confusing, especially when it's wrong

alternative (or additional) approach, allow moderators (or users?) to execute a /send_timezone_setter_message (ideas on naming?), which sends a message click change to change your timezone to {timezone}, which they can pin to let others change their timezone with just a click, this addition might even make #26 redundant

@laralove143
Copy link
Owner

laralove143 commented Mar 5, 2023

expanding on the last comment, because i think it solves this issue with the best ux

  • .../pin_timezone_setter command for moderators! with an optional timezone option
    • when timezone is given, it sends a message with a button saying set your timezone to {timezone}
    • when it isn't, it sends the regular old message sent on /timezone but this time not ephemeral

this makes it work like custom role bots

it also means the flow for #26 should be changed so that its not dependent on /timezone being used

@laralove143 laralove143 removed this from the discussing milestone Jul 8, 2023
@laralove143 laralove143 removed the enhancement New feature or request label Jul 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants