-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit introduces buttons to the rich presences. The JSON structure would be like this: ```"buttons": [ { "label": "Global Button1", "url": "https://url" }, { "label": "Global Button2", "url": "https://url" } ]``` The buttons array can contain 2 elements as a maximum. Like other parameters, the buttons can be implemented globally and in each state.
- Loading branch information
Showing
10 changed files
with
175 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[submodule "discord-rpc"] | ||
path = discord-rpc | ||
url = https://github.com/discord/discord-rpc.git | ||
url = https://github.com/multitheftauto/discord-rpc.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Submodule discord-rpc
updated
7 files
+39 −0 | .github/workflows/cmake.yml | |
+0 −1 | .gitignore | |
+3 −0 | .gitmodules | |
+1 −13 | CMakeLists.txt | |
+6 −0 | include/discord_rpc.h | |
+31 −7 | src/serialization.cpp | |
+1 −0 | thirdparty/rapidjson |