Spaces:
Runtime error
Runtime error
Update index.js
Browse files
index.js
CHANGED
|
@@ -41,7 +41,7 @@ function createEmbed(data, ended) {
|
|
| 41 |
}))
|
| 42 |
const time = new Date().toLocaleString('en-US', { timeZone: 'Asia/Manila' })
|
| 43 |
return new EmbedBuilder()
|
| 44 |
-
.setTitle(ended ? 'π Final Vote Result for **
|
| 45 |
.addFields(fields)
|
| 46 |
.setColor(ended ? 0xff5555 : 0x00ffff)
|
| 47 |
.setFooter({ text: `Updated the vote at ${time} | Today` })
|
|
|
|
| 41 |
}))
|
| 42 |
const time = new Date().toLocaleString('en-US', { timeZone: 'Asia/Manila' })
|
| 43 |
return new EmbedBuilder()
|
| 44 |
+
.setTitle(ended ? 'π Final Vote Result for **Lava Gauntlet**' : 'π Live Vote Status for **Power Gauntlet**\nVote here: https://www.rickgdbot.xyz/contest/gauntlets/vote.php')
|
| 45 |
.addFields(fields)
|
| 46 |
.setColor(ended ? 0xff5555 : 0x00ffff)
|
| 47 |
.setFooter({ text: `Updated the vote at ${time} | Today` })
|