Skip to content

fix: currency restriction message#3481

Merged
zunderscore merged 2 commits intocrowbartools:v5from
dennisrijsdijk:fix/restriction-messages
May 2, 2026
Merged

fix: currency restriction message#3481
zunderscore merged 2 commits intocrowbartools:v5from
dennisrijsdijk:fix/restriction-messages

Conversation

@dennisrijsdijk
Copy link
Copy Markdown
Collaborator

Description of the Change

Add explicit handling for restrictions that throw errors, rather than rejecting a Promise with a string. Fixes restriction message for the Currency restriction.

The commit is named as such for the release notes.

Applicable Issues

Reported in discord

Testing

Ensured both the currency restriction (Error-throwing) and the stream live (string rejecting) restrictions work as expected on a command.

@dennisrijsdijk dennisrijsdijk requested a review from ebiggz as a code owner May 2, 2026 18:22
@zunderscore zunderscore merged commit 3e4df57 into crowbartools:v5 May 2, 2026
1 check passed
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.

2 participants