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

make error message on "get current time for user" ephemeral #65

Open
Zuurkern opened this issue Jul 10, 2024 · 4 comments
Open

make error message on "get current time for user" ephemeral #65

Zuurkern opened this issue Jul 10, 2024 · 4 comments

Comments

@Zuurkern
Copy link

When you try to check someone's timezone, the bot posts a message in the current channel for everyone to see:

image

All other messages are "only visible for you", I think this behavior should be consistent for this error message as well.

@laralove143
Copy link
Owner

my thinking for that was so that the user this command is used on can see the message and set their timezone, but i guess that can be done naturally by the command's author telling the user to set their timezone

@laralove143 laralove143 changed the title catastrophic failure error message is shown for everyone instead of just for you make error message on "get current time for user" ephemeral Jul 20, 2024
@Zuurkern
Copy link
Author

Hi @laralove143, I was on holiday so only now got the time to respond.

Your reasoning makes sense, however people have inadvertently taken a disliking to the bot because of this message being visible for everyone every time they try to get the timezone for someone who hasn't set it up.

An even better solution would be to show two messages: one to the command's author telling them that user hasn't set up their timezone yet, and one to the user in question, asking/reminding them nicely to set up their timezone because [user] queried it. I don't know if that is technically feasible, however.

@laralove143
Copy link
Owner

its sadly not, ephemneral messages only work for the command's author, that limitation keeps me from doing a lot more but it is what it is

so ill simply make the message ephemeral and expect the problem to be solved through natural conversation

@Zuurkern
Copy link
Author

Okay, fair enough :-)

Thanks!

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