fix(defaultActivity): 🐛 fix "description" and "timestamp" is not allowed errors
Signed-off-by: Andrei Jiroh Eugenio Halili <ajhalili2006@gmail.com>
This commit is contained in:
parent
288d0ab809
commit
fdcb58af13
|
@ -6,6 +6,7 @@
|
|||
"typescript.tsdk": ".yarn/sdks/typescript/lib",
|
||||
"typescript.enablePromptUseWorkspaceTsdk": true,
|
||||
"conventionalCommits.scopes": [
|
||||
"global"
|
||||
"global",
|
||||
"defaultActivity"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
let defaultActivity = {
|
||||
description: "Event starts soon",
|
||||
details: "Event starts soon",
|
||||
assets: {
|
||||
large_image: "mcc-twitter",
|
||||
large_text: "MC Championship",
|
||||
|
@ -16,7 +16,8 @@ let defaultActivity = {
|
|||
"url": "https://gitlab.com/RecapTime/mcc-discord-rpc"
|
||||
}
|
||||
],
|
||||
timestamp: {
|
||||
timestamps: {
|
||||
// set start time to when it's started
|
||||
start: Date.now(),
|
||||
// TODO: Update the end time, assuming that @TubboLive leaks it again.
|
||||
end: 1651032000000 // MCC20 in UTC time
|
||||
|
|
Loading…
Reference in New Issue