Skip to content

Instantly share code, notes, and snippets.

@ghostrider-05
Last active January 12, 2025 12:07
Show Gist options
  • Save ghostrider-05/8f1a0bfc27c7c4509b4ea4e8ce718af0 to your computer and use it in GitHub Desktop.
Save ghostrider-05/8f1a0bfc27c7c4509b4ea4e8ce718af0 to your computer and use it in GitHub Desktop.
An unofficial list of discord app protocol routes

Discord app protocol routes

Home:

  • /: discord://-/
  • friends: discord://-/channels/@me/
  • nitro: discord://-/store
  • shop: discord://-/shop
  • message requests: discord://-/message-requests
  • family centre: discord://-/family-center

General:

  • apps: discord://-/apps
  • discovery - guilds: discord://-/guild-discovery
  • gift: discord://-/gifts/<gift_code>
  • gift (with login screen): discord://-/gifts/<gift_code>/login
  • new server: discord://-/guilds/create
  • server invite: discord://-/invite/<invite_code>
  • server invite (with login screen): discord://-/invite/<invite_code>/login
  • developer portal: discord://-/developer

Settings:

  • user settings: discord://-/settings/<setting_name>
    • with setting_name:
      • User settings - my account: account
      • User settings - profiles: profile-customization
      • User settings - privacy and safety: privacy-and-safety
      • User settings - family: family-center
      • User settings - authorized apps: authorized-apps
      • User settings - connections: connections
      • User settings - devices: sessions
      • User settings - friend requests: friend-requests
      • Payment settings - Discord Nitro: premium
      • Payment settings - server boost: guild-boosting
      • Payment settings - subscriptions: subscriptions
      • Payment settings - gift inventory: inventory
      • Payment settings - billing: billing
      • App settings - appearance: appearance
      • App settings - accessibility: accessibility
      • App settings - voice & video: voice
      • App settings - text & images: text
      • App settings - notifications: notifications
      • App settings - keybinds: keybinds
      • App settings - language: locale
      • App settings - windows settings: windows
      • App settings - linux settings: linux
      • App settings - steamer mode: streamer-mode
      • App settings - advanced: advanced
      • Activity settings - activity privacy - activity-privacy
      • Activity settings - registered games - registered-games
      • Activity settings - game overlay: overlay
      • Hypesquad: hypesquad-online
      • Changelog: changelogs
      • Experiments: experiments
      • Developer options: developer-options
      • Hotspot options: hotspot-options
      • Dismissible Contents: dismissible-content-options
  • guild settings: discord://-/guilds/<guild_id>/settings
    • overview: /overview
    • roles: /roles
    • emoji: /emoij
    • stickers: /stickers
    • widget: /widget
    • server template: /guild-templates
    • soundboard: /soundboard
    • custom invite link: /vanity-url
    • Apps - integrations: /integrations
    • Apps - app directory: /app-directory (empty page)
    • Moderation - safety setup: /safety
    • Moderation - audit log: /audit-log
    • Moderation - bans: /bans
    • Community - overview: /community
    • Community - onboarding: /onboarding
    • Community - server insights: /analytics
    • Community - partner programme: /partner
    • Community - discovery: /discovery
    • Community - server web page /discovery-landing-page
    • Community - welcome screen: /community-welcome
    • Monetization - Server subscriptions: /role-subscriptions
    • Server boost status: /guild-premium
    • User managament - members: /members
    • User managament - invites: /instant-invites
    • Delete: /delete

User:

  • user profile: discord://-/users/<user_id>

Guilds and DMs:

  • dm channel: discord://-/channels/@me/<channel_id>
  • dm message: discord://-/channels/@me/<channel_id>/<message_id>
  • favorites: discord://-/channels/@favorites
  • favorites channel: discord://-/channels/@favorites/<channel_id>
  • guild: discord://-/channels/<guild_id>
  • guild channel: discord://-/channels/<guild_id>/<channel_id>
  • guild browse channels: discord://channels/<guild_id>/channel-browser
  • guild customise (onboarding): discord://channels/<guild_id>/customize-community
  • guild server guide channel: discord://-/channels/<guild_id>/@home
  • guild event: discord://-/events/<guild_id>/<event_id>
  • guild message: discord://-/channels/<guild_id>/<channel_id>/<message_id>
  • guild member safety: discord://-/channels/<guild_id>/member-safety
  • guild membership screening: discord://-/member-verification/<guild_id>
  • guild role subscriptions: discord://-/channels/<guild_id>/role-subscriptions
  • hub membership screening: discord://-/member-verification-for-hub/<hub_id>

Library:

  • library: discord://-/library/
  • library inventory: discord://-/library/inventory
  • library item actions: discord://-/library/<sku_id>/<action_name>
    • with action_name:
      • Launch: launch
  • library settings: discord://-/library/settings/
  • store page: discord://-/store/skus/<sku_id>
  • store page: discord://-/store/applications/<application_id>

Account:

  • login: discord://-/login (options: ?redirect_to=)
  • register: discord://-/register (options: ?redirect_to=)
  • reset: discord://-/reset
  • restore: discord://-/restore

Events:

If an event is over, the link might not work anymore

  • snowsgiving (Discord's yearly event in december): discord://-/snowsgiving
  • 8th birthday: discord://-/activities
@Z1xus
Copy link

Z1xus commented Apr 1, 2024

found the protocol for april fool's lootboxes: discord://-/settings/lootboxes

@TheFeThrone
Copy link

I'm looking for a protocol that'd allow me to open the popup to "change nickname." or atleast send the person to the own settings where they can edit their nickname for any server

would be easier than telling people to either rightclick and change their nicknames or telling them to type /nick <new nickname>

@fastfingertips
Copy link

"Takma adı değiştirmek" için açılır pencereyi açmama izin verecek bir protokol arıyorum. veya en azından kişiyi herhangi bir sunucu için takma adını düzenleyebilecekleri kendi ayarlarına gönderin

İnsanlara sağ tıklayıp takma adlarını değiştirmelerini veya yazmalarını söylemekten daha kolay olurdu /nick <new nickname>

if you expect this you will be disappointed, trust me

@sylv256
Copy link

sylv256 commented Jun 9, 2024

Hey y'all, so I've figured something out: these only work on Windows.

@NoPlagiarism
Copy link

these only work on Windows.

For Linux try this. Also, Discord on Linux just sucks. (ArmCord enhances it a bit)

@lCyPh3r
Copy link

lCyPh3r commented Jun 22, 2024

is there's a way to invite a discord bot with this protocol like : discord://-/oauth2/authorize?client_id=282859044593598464&scope=identify+guilds+bot+applications.commands+applications.commands.permissions.update&permissions=2080374975&response_type=code&redirect_uri=https://probot.io/api/authback

@fastfingertips
Copy link

x_x

@Dr-Insanity
Copy link

@LeLenoch

is there a kind of a protocol to mute myself on the desktop app? I'm trying to code a stream deck clone and I can't find ANYTHING about this

It's done over RPC, see https://discord.com/developers/docs/topics/rpc#voicestatecreatevoicestateupdatevoicestatedelete. Though, I dunno why wouldn't you just want to set a keybind.

Perhaps he wants to automize it on some event. You know, programatically.

@Hacksore
Copy link

@Lenochxd not sure if you even still need this 😂

RPC can be a pain to work with (source: trust me bro™) as it's rather limited but it can work to automate things that are supported. discord-rpc is a pretty decent lib to interact with it, muting yourself would look something like this.

https://github.com/Hacksore/test-rpc-djs/blob/2452e7c82e44d59de7a65f54058d5b1365a03717/index.js#L11-L14

@Lenochxd
Copy link

@Lenochxd not sure if you even still need this 😂

RPC can be a pain to work with (source: trust me bro™) as it's rather limited but it can work to automate things that are supported. discord-rpc is a pretty decent lib to interact with it, muting yourself would look something like this.

https://github.com/Hacksore/test-rpc-djs/blob/2452e7c82e44d59de7a65f54058d5b1365a03717/index.js#L11-L14

This is exactly what I needed, thank you!

@lgrachov
Copy link

Hey y'all, so I've figured something out: these only work on Windows.

These also work on macOS.

@foxyyyyyyyyyyyyy
Copy link

Does someone know how I can refer to a command of an bot (app) with these?

@kbidlack
Copy link

kbidlack commented Dec 5, 2024

discord://-/guild-discovery is now discord://-/discovery/servers and there's also discord://-/discovery/quests

@jack-glenn
Copy link

Is there a way to stop these from opening my Discord PTB? I primarily use Discord Canary and it's annoying to keep having to view the links with another application.

@foxyyyyyyyyyyyyy
Copy link

don't think so as its a deeplink wich is normaly application specific so you would need to find the prefix of canary maybe sth like discord-canary://

@jack-glenn
Copy link

don't think so as its a deeplink wich is normaly application specific so you would need to find the prefix of canary maybe sth like discord-canary://

I figured it out, you have to adjust a key in the registry

@foxyyyyyyyyyyyyy
Copy link

ok sounds great can you send what to adjust here so other who may need it can look at it?

@jack-glenn
Copy link

Sure, it was from the following reddit: https://www.reddit.com/r/discordapp/comments/17ogayf/how_does_discord_desktop_handle_discord_urls/

The comment that fixed it was this one:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment