You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -133,6 +133,8 @@ The main files you may want to look at would be instance.js
133
133
| Check achievement activation state | Check the activation state of a steam achievement | Achievement *(string)* <br> |
134
134
| Set rich presence (synchronous) | Set the rich presence of the local player. (synchronous) | Key *(string)* <br>Value *(string)* <br>Tag *(string)* <br> |
135
135
| Set rich presence | Set the rich presence of the local player. | Key *(string)* <br>Value *(string)* <br> |
136
+
| Set activity (synchronous) | Set the discord activity (aka Rich presence). (synchronous) | Details *(string)* <br>State *(string)* <br>Start Timestamp *(string)* <br>Large image key *(string)* <br>Large image text *(string)* <br>Small image key *(string)* <br>Small image text *(string)* <br>Tag *(string)* <br> |
137
+
| Set activity | Set the discord activity (aka Rich presence). | Details *(string)* <br>State *(string)* <br>Start Timestamp *(string)* <br>Large image key *(string)* <br>Large image text *(string)* <br>Small image key *(string)* <br>Small image text *(string)* <br> |
136
138
137
139
138
140
---
@@ -307,6 +309,10 @@ The main files you may want to look at would be instance.js
307
309
| On any "SetRichPresence" success | Trigger when any of the "SetRichPresence" are executed with success. ||
308
310
| On "SetRichPresence" error | Trigger when the "SetRichPresence" failed to execute. | Tag *(string)* <br> |
309
311
| On any "SetRichPresence" error | Trigger when any of the "SetRichPresence" failed to execute. ||
312
+
| On "DiscordSetActivity" success | Trigger when the "DiscordSetActivity" is executed with success. | Tag *(string)* <br> |
313
+
| On any "DiscordSetActivity" success | Trigger when any of the "DiscordSetActivity" are executed with success. ||
314
+
| On "DiscordSetActivity" error | Trigger when the "DiscordSetActivity" failed to execute. | Tag *(string)* <br> |
315
+
| On any "DiscordSetActivity" error | Trigger when any of the "DiscordSetActivity" failed to execute. ||
310
316
| Is engine | Return true if the engine running the app is the one selected | Engine *(combo)* <br> |
311
317
| Is full screen | Returns true if the window is in full screen mode. | State *(combo)* <br> |
312
318
| Last checked path exists | Returns true if the last checked path exists. ||
@@ -400,6 +406,8 @@ The main files you may want to look at would be instance.js
400
406
| CheckAchievementActivationStateResult | The result of the "CheckAchievementActivationState last call" | string ||
401
407
| SetRichPresenceError | The error of the "SetRichPresence last call" | string ||
402
408
| SetRichPresenceResult | The result of the "SetRichPresence last call" | string ||
409
+
| DiscordSetActivityError | The error of the "DiscordSetActivity last call" | string ||
410
+
| DiscordSetActivityResult | The result of the "DiscordSetActivity last call" | string ||
403
411
| ArgumentAt | Get the argument at the given index. | string | Index *(number)* <br> |
404
412
| ArgumentCount | Get the number of arguments. | number ||
405
413
| AppFolderURL | Return the URL of the folder of the current app. | string ||
0 commit comments