-
-
Notifications
You must be signed in to change notification settings - Fork 755
Description
General Troubleshooting
Hey there! Before you report a bug or suggest a new feature,
please make sure to follow these steps first!
- I have checked for similar issues.
- I have updated to the latest JDA version.
- I have checked the branches or the maintainers' PRs for upcoming features/bug fixes.
This is not the place to learn Java. Please refer to StackOverflow
for your general programming questions.
Issue
Issue Type
- Bug Report
- Feature Request
For questions join the official JDA discord server: https://discord.gg/0hMr4ce0tIl3SLv5
Description
Like title says. Attempting to build an embed with EmbedBuilder and setting the embed title URL to something like http://localhost/whatever fails. This is because the URL_PATTERN used expects some sort of TLD or file extension on the end.
Using a URL like this would be useful in the case of testing locally. I do know that you can use a hosts file entry like 127.0.0.1 localhost.localdomain (and that's what I started doing), but it would be nice to not have to do this.
Regex101 example showing this: https://regex101.com/r/A567ut/1/