Automattic / Automattic/wp-telegram-bot

Use direct language for error messages

Open
#20 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
17
Forks
6
PR merge metrics
No merged PRs in 30d

Description

The bot uses indirect phrasing for error messages, which takes more effort to understand and introduces doubt:

`You seem to already be following ${url}`
`It seems you were not following ${blog}`

I'd recommend using more direct phrasing like this:

`You are already following ${url}`
`You were not following ${blog}`

Contributor guide

No contributing guide indexed for this repository

Research direction

Search the bot source for the two indirect error-message phrases shown in the issue and inspect the follow and unfollow paths that use them. Replace those messages with the direct wording proposed, then verify both message cases read naturally.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend
Issue type
Refactor
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.