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

fix: Replace unfriendly error messages #3194

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dd84ai
Copy link

@dd84ai dd84ai commented Nov 7, 2024

Reviewed msgs that looked hurtful and not desirable And offered to replace with some alternative joke options

addressing #3152

Relevant discussion: https://discord.com/channels/267624335836053506/429409067623251969/1303867812854497303

Copy link
Member

@shenanigansd shenanigansd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, quick win to improve friendliness

bot/constants.py Outdated Show resolved Hide resolved
@shenanigansd shenanigansd changed the title fix: make bot errors more novice/user friendly fix: Replace unfriendly error messages Nov 7, 2024
Reviewed msgs that looked hurtful and not desirable
And offered to replace with some alternative joke options

refactor: error should start with capital errors

Co-authored-by: Bradley Reynolds <[email protected]>
Copy link
Member

@vivekashok1221 vivekashok1221 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@wookie184 wookie184 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. I'll merge when the suggested change is resolved.

ERROR_REPLIES doesn't seem to be used anywhere, so those changes wont actually do anything. sir-lancebot has a copy of the same replies and it does use them, so it would be more useful to change them there, just noting.

We should move the lists into bot-core so we don't have this duplication, but that's a separate issue.

@@ -627,7 +627,7 @@ class _Keys(EnvConfig, env_prefix="api_keys_"):
"Not likely.",
"No way, José.",
"Not in a million years.",
"Fat chance.",
"I would love to, but unfortunately ... no.",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"I would love to, but unfortunately ... no.",
"I would love to, but unfortunately... no.",

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

Successfully merging this pull request may close these issues.

4 participants