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

[Bug] $chatMessage in regex command returns the regex as first word #2394

Closed
1 task done
dennisrijsdijk opened this issue Feb 5, 2024 · 0 comments
Closed
1 task done
Labels
Bug A defect in the app
Projects

Comments

@dennisrijsdijk
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When running a chat command with a regex trigger, the first word of $chatMessage is replaced by the regex trigger.

Expected Behavior

$chatMessage should return the raw chat message, rather than one with the regex trigger added in.

Steps To Reproduce

  1. Create a command with trigger d[0-9]+ and set it to trigger as regex
  2. Add a Log Message effect with the content $chatMessage and log level Error
  3. Save the command
  4. open the developer console
  5. in chat, post the following chat messages:
  • d1
  • d1 test
  • test d1
  1. You should see the following results:
  • d[0-9]+
  • d[0-9]+ test
  • d[0-9]+ d1

Version

5.60.1 & 5.61-dev

What operating system are you using Firebot on?

Windows 10

Relevant log output

No response

Contact Details (Optional)

No response

@dennisrijsdijk dennisrijsdijk added the Bug A defect in the app label Feb 5, 2024
@github-actions github-actions bot added this to Backlog in Work Status Feb 5, 2024
@SReject SReject added Dev Complete Release Pending Issue has been resolved and is waiting to be packaged as part of a release labels Feb 7, 2024
@SReject SReject closed this as completed Feb 16, 2024
Work Status automation moved this from Backlog to Closed Feb 16, 2024
@github-actions github-actions bot removed Release Pending Issue has been resolved and is waiting to be packaged as part of a release Dev Complete labels Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A defect in the app
Projects
Work Status
  
Closed
Development

No branches or pull requests

2 participants