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

Separate errors for "task number is not specified" and "user has no tasks" #31

Open
alexvarha opened this issue Nov 25, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@alexvarha
Copy link
Contributor

Context

People often aren't sure if they have any tasks on my stream (as most of them usually lurk on multiple streams). They also often forget to specify which task they want to interact with. In both cases, the bot returns the same error message (see screenshot). I tried crafting the error message that would make sense in both situations, but even then it's not clear enough.

Image

Request

Currently, this error is handled by noTaskFound: reply (line 159). Return this message if user's task list is empty
Add a separate reply noTaskId if user did not specify a task number in their command

@jujoco
Copy link
Owner

jujoco commented Jan 6, 2025

another great issue request. thanks @alexvarha .

what can we write for the bot's responses?
I've written a few examples.

  • !check (when no tasks exist for user)

    • Oopsl Looks like you have no unfinished tasks
  • !done 3(when task does not exist for user)

    • Oopsl Looks like that task number isn't valid. try !check

@jujoco jujoco added enhancement New feature or request good first issue Good for newcomers labels Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
Status: Backlog
Development

No branches or pull requests

2 participants