From 01bba88c5046c03f7408c39f0dc0a767a8c4be09 Mon Sep 17 00:00:00 2001 From: 8cy <50817549+8cy@users.noreply.github.com> Date: Mon, 22 Jun 2020 17:06:54 -0700 Subject: add discord rich presence :star2: - add test config.js - update readme for discordrpc --- test/config.js | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 test/config.js (limited to 'test/config.js') 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 + } + } +}); -- cgit v1.2.3