Open inserted link to a message in app instead of web browser.

Комментарии

Комментариев: 5

  • logunov

    Okay, I have found that discord for windows uses registering of the protocol with:
    --url -- "%1" flags, which means that url is passed as parameter, but

    if I try to use same flag with discord snap it's doing nothing but opens the app. There is no
    discord --help
    discord -man
    man -k discord
    info discord
    snap info discord

    specific about it.

    Ubuntu 20.4 LTS.

    Any ideas?

    0
  • logunov

    Okay, I have found a way. Here it is, not we need to attach it to the custom protocol...

    discord --url -- "discord://discordapp.com/channels/someId/someId2/someId3"

    Aware of spaces. Dangerous creatures...

    1
  • logunov

    Add this flags to your .desktop and it works:

     

    --url -- %u


    For the windows it's built-in with installation

    2
  • Shyne

    Have you tried using:
    discord:///
    instead of:
    discord://
    Because for me the discord:// doesn't work.

    2
  • aarondroid

    discord://discord.com/channels/somenumber 

    Worked for me. Grateful for this thread, thankyou!

    1

Войдите в службу, чтобы оставить комментарий.