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
13 Replies
d.js toolkit
d.js toolkit•14mo 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•14mo 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.
bruhbruhbruhwho
bruhbruhbruhwhoOP•14mo ago
Do you mean in my code? When I try to do it just as a message it looks like this. I’ll try in my code as well.
No description
lupus
lupus•14mo ago
Mmh, it embeds normally like in the example above for me
lupus
lupus•14mo ago
No description
🌺🇫🇷 Shigu :3 🌺
You can use the hyperlink function
bruhbruhbruhwho
bruhbruhbruhwhoOP•14mo ago
Sorry just to clarify, are you sending that message via a bot or just through the discord UI?
lupus
lupus•14mo ago
Through the normal UI, I can also try sending it with a bot, one moment.
bruhbruhbruhwho
bruhbruhbruhwhoOP•14mo 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•14mo ago
No description
lupus
lupus•14mo ago
It may be related to you being on movile for some odd reason
bruhbruhbruhwho
bruhbruhbruhwhoOP•14mo ago
Okay thanks a lot for your help and time, I’ll try testing it tomorrow
lupus
lupus•14mo ago
I suggest you just try sending it through the bot, either with manual markdown or the function ShiGu provided You're welcome
Want results from more Discord servers?
Add your server