start von Commits
This commit is contained in:
commit
f35baec2ee
80 changed files with 1747 additions and 0 deletions
15
DiscordRPC.gd
Normal file
15
DiscordRPC.gd
Normal file
|
@ -0,0 +1,15 @@
|
|||
extends Node
|
||||
|
||||
func _ready():
|
||||
DiscordRPC.app_id = 1351181457938186354 # Application ID
|
||||
DiscordRPC.details = "projektLuzid"
|
||||
DiscordRPC.state = ProjectSettings.get_setting("application/config/name")
|
||||
DiscordRPC.large_image = "example_game" # Image key from "Art Assets"
|
||||
DiscordRPC.large_image_text = "TEST!"
|
||||
DiscordRPC.small_image = "boss" # Image key from "Art Assets"
|
||||
DiscordRPC.small_image_text = "TEST"
|
||||
|
||||
DiscordRPC.start_timestamp = int(Time.get_unix_time_from_system()) # "02:46 elapsed"
|
||||
# DiscordRPC.end_timestamp = int(Time.get_unix_time_from_system()) + 3600 # +1 hour in unix time / "01:00:00 remaining"
|
||||
|
||||
DiscordRPC.refresh() # Always refresh after changing the values!
|
Loading…
Add table
Add a link
Reference in a new issue