[Bug]: Button regex does not work
See original GitHub issueCheck The Docs
- I double checked the docs and couldn’t find any useful information.
Verify Issue Source
- I verified the issue was caused by Discord.Net.
Check your intents
- I double checked that I have the required intents.
Description
So, for some reason TreatAsRegex is off by default, which was not mentioned and probably many many bots needed refactoring, however even with TreatAsRegex enabled, for some reason a simple regex like [ComponentInteraction("trigger.*.runin.*$*", true), CheckPermissions]
Does not work.
For some reason, it goes through all preconditions just fine but never runs the actual method
Version
3.9
Working Version
3.8.1
Logs
No stack traces
Sample
No response
Packages
None
Issue Analytics
- State:
- Created 9 months ago
- Comments:10 (6 by maintainers)
Top Results From Across the Web
regex match() isn't working with input.value
In my code I have an input when a player can write his name and then click the 'start' button to start the...
Read more >RegEx bug with big files | Notepad++ Community
in a file that has no occurrences of it and that it's bigger than 33336155 characters, the whole text is selected and no...
Read more >Replace w regex not working
I'm having a similar problem as other users who are trying to use a regex to replace something. The “Search” button shows “matched...
Read more >Regular expression containing \K does not work with step- ...
When I say, for instance, 1 + 4 clicks on 'Replace' I want to say that, with caret located above the sample text,...
Read more >Best Practices for Regular Expressions in .NET
Learn how to create efficient, effective regular expressions in .NET.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Tested using same case before, worked for both, and also worked via regex. Looks good on my end, thanks!
yea no rush, hope you feel better soon