Admins can Set/Change the timezone of someone else
Opened this issue · 4 comments
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
#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
- admin runs
/change_other_user_timezone {user}
(ideas on a better name?) - bot follows the same
/timezone
flow - sends a message saying
{moderator}
would like to change your timezone to{timezone}
with buttons saying allow and deny - when the user clicks allow, it changes the timezone
- when any button is clicked, it deletes the message
with this approach the moderator permissions requirement could be lifted too
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
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
expanding on the last comment, because i think it solves this issue with the best ux
- ...
/pin_timezone_setter
command for moderators! with an optionaltimezone
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
- when
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