Clicking discordapp.com links in bot embeds should open in client

Commenti

4 commenti

  • SoreGums

    this would be very helpful.

    like we have a star bot that posts messages into a #starboard channel once it gets 2 star reactions.

    it would make a whole lot of sense if the link opened in the client instead of opening a webpage...

    0
    Azioni per commenti Permalink
  • Killy

    Interesting. There is also discord protocol. If you replace "https" with "discord" - the resulting link should open in the client.

    But such links are not recognized as links, neither in embeds nor in the message content. They can't also be passed as the Url part of an embed.

    At the same time, "steam" protocol links are recognized by desktop client.

     

     

    2
    Azioni per commenti Permalink
  • safal

    I have also faced the same problem But You can do it by using addField in embed like this

    const exampleEmbed = new Discord.RichEmbed().addField("Any Message", "[message](https://discordapp.com/channel/xx/xx)")

     
    1
    Azioni per commenti Permalink
  • Jaighalor

    I'm writing a bot that moves pinned messages to another channel. Annoyingly the hyperlink to the original post opens in browser because of this. Really does make sense to open these links in the Discord application.

    0
    Azioni per commenti Permalink

Accedi per aggiungere un commento.