Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 2.17 KB

README.md

File metadata and controls

49 lines (32 loc) · 2.17 KB

🎮 Discord Rich Presence Extension for Delphi

📖 Description

This extension integrates Discord Rich Presence with the Delphi IDE, showing what you're editing in Delphi on your Discord profile.

✨ Features

  • 📂 Displays the currently edited file name.
  • 🌐 Detects file extension and shows the corresponding language icon (see extensions.pas for supported extensions).

The most up-to-date documentation for Rich Presence can always be found on our developer site! If you're interested in implementing Rich Presence via IPC sockets instead of using our SDK, check out the "Hard Mode" documentation.

🛠️ Basic Usage

First, head over to the Discord developers site and create an app. Keep track of your Client ID—you'll need it to pass to the initialization function.

image

💾 Installation

Download and extract to C:\DelphiCord.

image

✈ Where are?

image

📂 Folders / 🚨 See the folder permission

  • /Discordrpc - Contains Discord RPC DLLs.
  • /Package - Plugin for the IDE.
  • /Sample - VCL application example.
  • /Source - Abstraction to call DLLs in DiscordRPC.pas.
  • /Win32/Debug - Output for DelphiCord.exe, discord-rpc.dll, DiscordStatus.bpl, send-presence.exe.

External source for Discord RPC: discord-rpc.

💬 Contributions / Ideas / Bug Fixes

To submit a pull request, follow these steps:

  1. 🍴 Fork the project.
  2. 🌿 Create a new branch (git checkout -b my-new-feature).
  3. 🛠️ Make your changes.
  4. 💾 Commit your changes (git commit -am 'Add new feature or fix bug').
  5. 📤 Push the branch (git push origin my-new-feature).
  6. 🔄 Open a pull request.

Give me a Star.