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.tsdk": ".yarn/sdks/typescript/lib",
|
||||||
"typescript.enablePromptUseWorkspaceTsdk": true,
|
"typescript.enablePromptUseWorkspaceTsdk": true,
|
||||||
"conventionalCommits.scopes": [
|
"conventionalCommits.scopes": [
|
||||||
"global"
|
"global",
|
||||||
|
"defaultActivity"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
let defaultActivity = {
|
let defaultActivity = {
|
||||||
description: "Event starts soon",
|
details: "Event starts soon",
|
||||||
assets: {
|
assets: {
|
||||||
large_image: "mcc-twitter",
|
large_image: "mcc-twitter",
|
||||||
large_text: "MC Championship",
|
large_text: "MC Championship",
|
||||||
|
@ -16,7 +16,8 @@ let defaultActivity = {
|
||||||
"url": "https://gitlab.com/RecapTime/mcc-discord-rpc"
|
"url": "https://gitlab.com/RecapTime/mcc-discord-rpc"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
timestamp: {
|
timestamps: {
|
||||||
|
// set start time to when it's started
|
||||||
start: Date.now(),
|
start: Date.now(),
|
||||||
// TODO: Update the end time, assuming that @TubboLive leaks it again.
|
// TODO: Update the end time, assuming that @TubboLive leaks it again.
|
||||||
end: 1651032000000 // MCC20 in UTC time
|
end: 1651032000000 // MCC20 in UTC time
|
||||||
|
|
Loading…
Reference in New Issue