summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
author8cy <[email protected]>2020-06-22 17:06:54 -0700
committer8cy <[email protected]>2020-06-22 17:06:54 -0700
commit2060acb6f97d80ba8eaf06690529ab7f890f1c49 (patch)
treebee40e5abf870d94d4efb84a2aeb017647d2b0ca /test
parentwoah :star: (diff)
downloadmonkey-type-desktop-2060acb6f97d80ba8eaf06690529ab7f890f1c49.tar.xz
monkey-type-desktop-2060acb6f97d80ba8eaf06690529ab7f890f1c49.zip
add discord rich presence :star2:
- add test config.js - update readme for discordrpc
Diffstat (limited to 'test')
-rw-r--r--test/config.js36
1 files changed, 36 insertions, 0 deletions
diff --git a/test/config.js b/test/config.js
new file mode 100644
index 0000000..6f3081c
--- /dev/null
+++ b/test/config.js
@@ -0,0 +1,36 @@
+'use strict';
+const Store = require('electron-store');
+
+// You can set these values pretty easily in the index.js, you just need to add the corresponding data types to the setActivity function.
+// You can also find a complete list of all of the types and what they do here; https://github.com/8cy/pydii/blob/master/README.MD#config-explained
+
+module.exports = new Store({
+ defaults: {
+ debugEnable: false,
+ menuEnable: true,
+ discordRPC: {
+ clientId: "722389325483999243",
+ timeEnable: true,
+ RPC: {
+ details: "Typing on Monkey Type",
+ state: "Desktop Application Beta",
+ startTimestamp: 0,
+ endTimestamp: 0,
+ smallImageText: "",
+ smallImageKey: "",
+ largeImageText: "Monkey Type",
+ largeImageKey: "icon",
+ refreshTime: 15,
+ instance: true,
+ match: "",
+ party: "",
+ partyMax: "",
+ join: "",
+ spectate: ""
+ }
+ },
+ dontTouch: {
+ updateCounter: 0
+ }
+ }
+});