Creating a hyperlink

As the title suggests, I was looking for a way to turn a link into a hyperlink. Right now I want to send a message with the link to a scheduled event like my screenshot. This is perfect but I was looking for a way to turn the link into a hyperlink. Currently, my bot is just sending the URL as is, but it results as it did in the screenshot. I tried using embeds but the "interested" bell did not appear so it is not quite what I wanted. Is this simply not possible to do such a thing using discord.js?
No description
12 Replies
d.js toolkit
d.js toolkitβ€’3y ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button! - βœ… Marked as resolved by OP
lupus
lupusβ€’3y ago
To confirm, you can't just use [Some text here](https://discord.com/events/somenumbers/morenumbers)? It would look like this: Some Discord Event Link This isn't really an event link which is why the embed isn't shown I can verify that it works as desired when a user sends the link as a hyperlink, it should work the same way when using a bot account.
lupus
lupusβ€’3y ago
Mmh, it embeds normally like in the example above for me
lupus
lupusβ€’3y ago
No description
πŸŒΊπŸ‡«πŸ‡· Shigu :3 🌺
You can use the hyperlink function
bruhbruhbruhwho
bruhbruhbruhwhoOPβ€’3y ago
Sorry just to clarify, are you sending that message via a bot or just through the discord UI?
lupus
lupusβ€’3y ago
Through the normal UI, I can also try sending it with a bot, one moment.
bruhbruhbruhwho
bruhbruhbruhwhoOPβ€’3y ago
hm that’s weird, i did mine through the UI as well. I wonder if it has to do with the fact that im on mobile rn but i doubt it
lupus
lupusβ€’3y ago
No description
lupus
lupusβ€’3y ago
It may be related to you being on movile for some odd reason
bruhbruhbruhwho
bruhbruhbruhwhoOPβ€’3y ago
Okay thanks a lot for your help and time, I’ll try testing it tomorrow
lupus
lupusβ€’3y ago
I suggest you just try sending it through the bot, either with manual markdown or the function ShiGu provided You're welcome

Did you find this page helpful?