Skip to content

Commit

Permalink
feat: add invalid phrase error message
Browse files Browse the repository at this point in the history
  • Loading branch information
vyneer committed Oct 6, 2023
1 parent 0b72f59 commit 527d38d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions assets/chat/js/const.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ const errorstrings = new Map(
"You aren't allowed to chat. Either you haven't picked a username, or a mod disabled your privileges.",
duplicatephrase: 'Banned phrase already exists.',
nophrase: "Banned phrase doesn't exist.",
invalidphrase:
'Invalid phrase provided. Either the phrase was empty, or its regex was invalid.',
}),
);

Expand Down

0 comments on commit 527d38d

Please sign in to comment.