Features:
- Native IPC connection to Discord (Windows named pipes, Unix sockets)
- Full presence customization (details, state, images, timestamps)
- Party support for multiplayer games
- Invite secrets support (match, join, spectate)
- Helper methods for editor and game presence
- GDScript autoload manager template
- Cross-platform support (Windows, macOS, Linux)
Usage:
DiscordRPC.initialize('YOUR_APP_ID')
DiscordRPC.set_game_presence('My Game', 'Playing Level 1')
DiscordRPC.update_presence()
Also renamed project.godot to project.aethex for showcase games
15 lines
243 B
Python
15 lines
243 B
Python
def can_build(env, platform):
|
|
# Discord RPC works on Windows, macOS, and Linux
|
|
return platform in ["windows", "macos", "linuxbsd"]
|
|
|
|
|
|
def configure(env):
|
|
pass
|
|
|
|
|
|
def get_opts(platform):
|
|
return []
|
|
|
|
|
|
def get_flags():
|
|
return []
|